Browse Source

f2fs: fix wrong unlock_page call

This patch removes wrongly called unlock_page.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Jaegeuk Kim 10 years ago
parent
commit
df1991391f
1 changed files with 0 additions and 1 deletions
  1. 0 1
      fs/f2fs/data.c

+ 0 - 1
fs/f2fs/data.c

@@ -837,7 +837,6 @@ write:
 	/* we should bypass data pages to proceed the kworkder jobs */
 	/* we should bypass data pages to proceed the kworkder jobs */
 	if (unlikely(f2fs_cp_error(sbi))) {
 	if (unlikely(f2fs_cp_error(sbi))) {
 		SetPageError(page);
 		SetPageError(page);
-		unlock_page(page);
 		goto out;
 		goto out;
 	}
 	}