aboutsummaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorChao Yu2016-04-29 20:13:36 +0800
committerJaegeuk Kim2016-05-03 11:20:06 -0700
commitc81ced05b2c7fc3c1d6db753a55b55733ffb1524 (patch)
treea260cfd75f72c34286e0b16e02971e24e50018f4 /fs
parent23dc974eed576b2464b222a892272073adf6a92c (diff)
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')
-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);