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)
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>

No differences found