]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: avoid infinite loop on cp_error
authorJaegeuk Kim <jaegeuk@kernel.org>
Sat, 10 Jan 2015 00:27:17 +0000 (16:27 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 12 Feb 2015 01:04:30 +0000 (17:04 -0800)
commit626bf73144d6131ef9e130b7af82ce1d398661c4
tree24bfdfff79ff3b008a8996dc88f210659a12edfc
parent5ebecf3be7c5d805602f4109d24bc60c5a92c0b0
f2fs: avoid infinite loop on cp_error

If cp_error is set, we should avoid all the infinite loop.
In f2fs_sync_file, there is a hole, and this patch fixes that.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/file.c