aboutsummaryrefslogtreecommitdiff
path: root/fs/ntfs3/lznt.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ntfs3/lznt.c')
-rw-r--r--fs/ntfs3/lznt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ntfs3/lznt.c b/fs/ntfs3/lznt.c
index ead9ab7d69b3..eb43b9f5149b 100644
--- a/fs/ntfs3/lznt.c
+++ b/fs/ntfs3/lznt.c
@@ -294,8 +294,8 @@ next:
*/
struct lznt *get_lznt_ctx(int level)
{
- struct lznt *r = ntfs_zalloc(level ? offsetof(struct lznt, hash)
- : sizeof(struct lznt));
+ struct lznt *r = kzalloc(level ? offsetof(struct lznt, hash) :
+ sizeof(struct lznt), GFP_NOFS);
if (r)
r->std = !level;