Zhiguo Niu cf8a10d41f 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>
2024-01-25 15:35:37 -08:00
..
2023-01-19 09:24:27 +01:00
2023-11-28 17:20:11 +00:00
2023-09-02 15:37:59 -07:00
2023-09-02 15:37:59 -07:00
2023-09-02 15:37:59 -07:00
2023-09-02 15:37:59 -07:00
2023-08-02 09:13:09 -06:00
2021-08-23 10:25:51 -07:00
2024-01-25 15:35:32 -08:00
2023-09-02 15:37:59 -07:00
2023-04-18 09:05:54 -07:00
2023-02-27 16:18:51 -08:00
2023-06-26 06:07:10 -07:00