* [PATCH 2/4] f2fs: fix to clear page private flag
@ 2016-04-28 15:14 Chao Yu
0 siblings, 0 replies; 2+ messages in thread
From: Chao Yu @ 2016-04-28 15:14 UTC (permalink / raw)
To: Jaegeuk Kim; +Cc: linux-f2fs-devel, linux-kernel
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH 2/4] f2fs: fix to clear page private flag
@ 2016-04-29 12:13 Chao Yu
0 siblings, 0 replies; 2+ messages in thread
From: Chao Yu @ 2016-04-29 12:13 UTC (permalink / raw)
To: jaegeuk; +Cc: linux-f2fs-devel, linux-kernel, Chao Yu
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-04-29 12:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-28 15:14 [PATCH 2/4] f2fs: fix to clear page private flag Chao Yu
-- strict thread matches above, loose matches on Subject: below --
2016-04-29 12:13 Chao Yu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).