mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
f2fs: fix wrong return value of f2fs_acl_create
[ Upstream commitf6176473a0] 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 commitbeaf226b86("posix_acl: don't ignore return value of posix_acl_create_masq()"). Fixes:83dfe53c18("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> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
0c815c0aac
commit
35435b6d57
1 changed files with 8 additions and 6 deletions
Loading…
Add table
Add a link
Reference in a new issue