diff options
author | Chao Yu <yuchao0@huawei.com> | 2016-04-29 20:13:36 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-05-03 11:20:06 -0700 |
commit | c81ced05b2c7fc3c1d6db753a55b55733ffb1524 (patch) | |
tree | a260cfd75f72c34286e0b16e02971e24e50018f4 /fs/f2fs | |
parent | 23dc974eed576b2464b222a892272073adf6a92c (diff) | |
download | linux-c81ced05b2c7fc3c1d6db753a55b55733ffb1524.tar.gz linux-c81ced05b2c7fc3c1d6db753a55b55733ffb1524.tar.bz2 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')
-rw-r--r-- | fs/f2fs/segment.c | 1 |
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); |