UPSTREAM: f2fs: fix to check return value of f2fs_recover_xattr_data
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: 50a472bb ("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> (cherry picked from commit 86d7d57a) Change-Id: I3b4a577b29eb21167260363c970bdf8875e95cd2
Loading
Please sign in to comment