diff options
author | Zhiguo Niu <zhiguo.niu@unisoc.com> | 2023-12-12 10:15:27 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-01-25 15:27:36 -0800 |
commit | 4f31f357e52578931100cf643a9009c1496e9b63 (patch) | |
tree | 1dee54c6b54cb39a88cf8b6028140754ac1c2793 /include | |
parent | 2c6537c58bce1a7caeabd43d2380eb2737545521 (diff) | |
download | linux-4f31f357e52578931100cf643a9009c1496e9b63.tar.gz linux-4f31f357e52578931100cf643a9009c1496e9b63.tar.bz2 linux-4f31f357e52578931100cf643a9009c1496e9b63.zip |
f2fs: fix to check return value of f2fs_recover_xattr_data
[ Upstream commit 86d7d57a3f096c8349b32a0cd5f6f314e4416a6d ]
Should check return value of f2fs_recover_xattr_data in
__f2fs_setxattr rather than doing invalid retry if error happen.
Also just do set_page_dirty in f2fs_recover_xattr_data when
page is changed really.
Fixes: 50a472bbc79f ("f2fs: do not return EFSCORRUPTED, but try to run online repair")
Signed-off-by: Zhiguo Niu <zhiguo.niu@unisoc.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions