Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1391059
| From | Chao Yu <chao@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 2/4] f2fs: fix to clear page private flag |
| Date | 2016-04-29 14:20 +0200 |
| Message-ID | <rtfyP-5Os-31@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
From: Chao Yu <yuchao0@huawei.com>
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>
---
fs/f2fs/segment.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c
index 770cdc9..2e6f537 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);
--
2.7.2
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 2/4] f2fs: fix to clear page private flag Chao Yu <chao@kernel.org> - 2016-04-29 14:20 +0200 [PATCH 3/4] f2fs: factor out fsync inode entry operations Chao Yu <chao@kernel.org> - 2016-04-29 14:20 +0200 [PATCH 4/4] f2fs: fix inode cache leak Chao Yu <chao@kernel.org> - 2016-04-29 14:20 +0200
csiph-web