diff options
Diffstat (limited to 'fs/cachefiles/ondemand.c')
| -rw-r--r-- | fs/cachefiles/ondemand.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/cachefiles/ondemand.c b/fs/cachefiles/ondemand.c index b251fff2bed0..0849eaf583cd 100644 --- a/fs/cachefiles/ondemand.c +++ b/fs/cachefiles/ondemand.c @@ -734,8 +734,7 @@ int cachefiles_ondemand_init_obj_info(struct cachefiles_object *object, if (!cachefiles_in_ondemand_mode(volume->cache)) return 0; - object->ondemand = kzalloc_obj(struct cachefiles_ondemand_info, - GFP_KERNEL); + object->ondemand = kzalloc_obj(struct cachefiles_ondemand_info); if (!object->ondemand) return -ENOMEM; |
