f2fs: avoid infinite loop at cp_error
authorJaegeuk Kim <jaegeuk@kernel.org>
Fri, 17 Oct 2014 21:14:16 +0000 (14:14 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 4 Nov 2014 00:07:31 +0000 (16:07 -0800)
commitaf41d3ee00bf97bfc3bd64bce6d7a92e85955e98
tree317fa5d31729a361bf39727701de5705fcbda239
parent4a257ed677cb68a2096358e58b61efacf85d5f16
f2fs: avoid infinite loop at cp_error

This patch avoids an infinite loop in sync_dirty_inode_page when -EIO was
detected.

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