summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/segment.c
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2016-04-29 14:13:36 +0200
committerJaegeuk Kim <jaegeuk@kernel.org>2016-05-03 20:20:06 +0200
commitc81ced05b2c7fc3c1d6db753a55b55733ffb1524 (patch)
treea260cfd75f72c34286e0b16e02971e24e50018f4 /fs/f2fs/segment.c
parentf2fs: fix to clear private data in page (diff)
downloadlinux-c81ced05b2c7fc3c1d6db753a55b55733ffb1524.tar.xz
linux-c81ced05b2c7fc3c1d6db753a55b55733ffb1524.zip
f2fs: fix to clear page private flag
Commit 28bc106b2346 ("f2fs: support revoking atomic written pages") forgot to clear page private flag correctly, fix it. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/segment.c')
-rw-r--r--fs/f2fs/segment.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c
index 770cdc95120f..2e6f537a0e7d 100644
--- a/fs/f2fs/segment.c
+++ b/fs/f2fs/segment.c
@@ -227,6 +227,7 @@ next:
if (drop || recover)
ClearPageUptodate(page);
set_page_private(page, 0);
+ ClearPagePrivate(page);
f2fs_put_page(page, 1);
list_del(&cur->list);