f2fs: fix wrong unlock_page call
authorJaegeuk Kim <jaegeuk@kernel.org>
Wed, 7 Jan 2015 00:00:03 +0000 (16:00 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Sat, 10 Jan 2015 01:02:27 +0000 (17:02 -0800)
This patch removes wrongly called unlock_page.

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

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