summaryrefslogtreecommitdiff
path: root/fs/fuse/backing.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/fuse/backing.c')
-rw-r--r--fs/fuse/backing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fuse/backing.c b/fs/fuse/backing.c
index 4afda419dd14..45a78ee15e3c 100644
--- a/fs/fuse/backing.c
+++ b/fs/fuse/backing.c
@@ -112,7 +112,7 @@ int fuse_backing_open(struct fuse_conn *fc, struct fuse_backing_map *map)
if (backing_sb->s_stack_depth >= fc->max_stack_depth)
goto out_fput;
- fb = kmalloc(sizeof(struct fuse_backing), GFP_KERNEL);
+ fb = kmalloc_obj(struct fuse_backing, GFP_KERNEL);
res = -ENOMEM;
if (!fb)
goto out_fput;