summaryrefslogtreecommitdiff
path: root/fs/cachefiles/volume.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/cachefiles/volume.c')
-rw-r--r--fs/cachefiles/volume.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cachefiles/volume.c b/fs/cachefiles/volume.c
index 90ba926f488e..655de0cef530 100644
--- a/fs/cachefiles/volume.c
+++ b/fs/cachefiles/volume.c
@@ -28,7 +28,7 @@ void cachefiles_acquire_volume(struct fscache_volume *vcookie)
_enter("");
- volume = kzalloc(sizeof(struct cachefiles_volume), GFP_KERNEL);
+ volume = kzalloc_obj(struct cachefiles_volume, GFP_KERNEL);
if (!volume)
return;
volume->vcookie = vcookie;