summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/node.c
diff options
context:
space:
mode:
authorTiezhu Yang <kernelpatch@126.com>2018-11-21 00:21:38 +0100
committerJaegeuk Kim <jaegeuk@kernel.org>2018-11-27 00:54:37 +0100
commitf6176473a0c7472380eef72ebeb330cf9485bf0a (patch)
treef2bdc018324ab3cb8f8bf486b7bb340a408c6cd4 /fs/f2fs/node.c
parentf2fs: avoid build warn of fall_through (diff)
downloadlinux-f6176473a0c7472380eef72ebeb330cf9485bf0a.tar.xz
linux-f6176473a0c7472380eef72ebeb330cf9485bf0a.zip
f2fs: fix wrong return value of f2fs_acl_create
When call f2fs_acl_create_masq() failed, the caller f2fs_acl_create() should return -EIO instead of -ENOMEM, this patch makes it consistent with posix_acl_create() which has been fixed in commit beaf226b863a ("posix_acl: don't ignore return value of posix_acl_create_masq()"). Fixes: 83dfe53c185e ("f2fs: fix reference leaks in f2fs_acl_create") Signed-off-by: Tiezhu Yang <kernelpatch@126.com> Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/node.c')
0 files changed, 0 insertions, 0 deletions