Skip to contentSkip to conversation

f2fs: fix to clear page private flag

PATCH In review Chao Yu 1 participant 1 message Apr 28, 2016 F2FS file system

lore
Share & tools
lore

Chao Yu

author maintainer
#0 lore raw

PATCH 2/4 f2fs: fix to clear page private flag

From: Chao Yu <[email protected]>

Commit 28bc106b2346 ("f2fs: support revoking atomic written pages") forgot to clear page private flag correctly, fix it.

---
 fs/f2fs/segment.c | 1 +
 1 file changed, 1 insertion(+)
fs/f2fs/segment.c +1 -0
index 770cdc9..2e6f537 100644
@@ -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);
Signature · 1 line
2.7.2