|
@@ -174,7 +174,7 @@ struct posix_acl *f2fs_get_acl(struct inode *inode, int type)
|
|
|
|
|
|
retval = f2fs_getxattr(inode, name_index, "", NULL, 0);
|
|
|
if (retval > 0) {
|
|
|
- value = kmalloc(retval, GFP_KERNEL);
|
|
|
+ value = kmalloc(retval, GFP_F2FS_ZERO);
|
|
|
if (!value)
|
|
|
return ERR_PTR(-ENOMEM);
|
|
|
retval = f2fs_getxattr(inode, name_index, "", value, retval);
|