f2fs: fix wrong unlock_page call

This patch removes wrongly called unlock_page.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This commit is contained in:
Jaegeuk Kim 2015-01-06 16:00:03 -08:00
parent 9e5ba77fdb
commit df1991391f

View file

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