f2fs: do not count ENOENT for error case
authorJaegeuk Kim <jaegeuk@kernel.org>
Sat, 18 Jun 2022 07:42:24 +0000 (00:42 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 21 Jun 2022 15:29:56 +0000 (08:29 -0700)
commit82c7863ed95d0914f02c7c8c011200a763bc6725
tree79d7d56a45673be9fced1ecff3ea1bb71f373205
parent61803e984307c767a96d85f3b61ca50e1705fc67
f2fs: do not count ENOENT for error case

Otherwise, we can get a wrong cp_error mark.

Cc: <stable@vger.kernel.org>
Fixes: a7b8618aa2f0 ("f2fs: avoid infinite loop to flush node pages")
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/node.c