summaryrefslogtreecommitdiff
path: root/fs/fcntl.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/fcntl.c')
-rw-r--r--fs/fcntl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fcntl.c b/fs/fcntl.c
index f93dbca08435..c9c73305011e 100644
--- a/fs/fcntl.c
+++ b/fs/fcntl.c
@@ -100,7 +100,7 @@ int file_f_owner_allocate(struct file *file)
if (f_owner)
return 0;
- f_owner = kzalloc(sizeof(struct fown_struct), GFP_KERNEL);
+ f_owner = kzalloc_obj(struct fown_struct, GFP_KERNEL);
if (!f_owner)
return -ENOMEM;