summaryrefslogtreecommitdiffstats
path: root/fs/ext2/xattr.h
diff options
context:
space:
mode:
authorzhangyi (F) <yi.zhang@huawei.com>2020-06-08 05:40:42 +0200
committerJan Kara <jack@suse.cz>2020-07-09 08:14:00 +0200
commitb4962091a54c8c332e4c6c211a86b7f6d6e1f759 (patch)
treefafbe783a18a79e193fa2b2bf84b01479b915dee /fs/ext2/xattr.h
parentext2: fix improper assignment for e_value_offs (diff)
downloadlinux-b4962091a54c8c332e4c6c211a86b7f6d6e1f759.tar.xz
linux-b4962091a54c8c332e4c6c211a86b7f6d6e1f759.zip
ext2: propagate errors up to ext2_find_entry()'s callers
The same to commit <36de928641ee4> (ext4: propagate errors up to ext4_find_entry()'s callers') in ext4, also return error instead of NULL pointer in case of some error happens in ext2_find_entry() (e.g. -ENOMEM or -EIO). This could avoid a negative dentry cache entry installed even it failed to read directory block due to IO error. Link: https://lore.kernel.org/r/20200608034043.10451-1-yi.zhang@huawei.com Signed-off-by: zhangyi (F) <yi.zhang@huawei.com> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/ext2/xattr.h')
0 files changed, 0 insertions, 0 deletions