* [PATCH] f2fs: remove unneeded set_page_private() in f2fs_delete_entry()
@ 2023-04-10 2:21 Chao Yu
0 siblings, 0 replies; only message in thread
From: Chao Yu @ 2023-04-10 2:21 UTC (permalink / raw)
To: jaegeuk; +Cc: linux-f2fs-devel, linux-kernel, Chao Yu
As detach_page_private() should have reset page's private field.
Signed-off-by: Chao Yu <chao@kernel.org>
---
fs/f2fs/dir.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/fs/f2fs/dir.c b/fs/f2fs/dir.c
index d6dd8327e82d..d5c7c8e55eb4 100644
--- a/fs/f2fs/dir.c
+++ b/fs/f2fs/dir.c
@@ -912,7 +912,6 @@ void f2fs_delete_entry(struct f2fs_dir_entry *dentry, struct page *page,
f2fs_remove_dirty_inode(dir);
detach_page_private(page);
- set_page_private(page, 0);
}
f2fs_put_page(page, 1);
--
2.25.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2023-04-10 2:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-10 2:21 [PATCH] f2fs: remove unneeded set_page_private() in f2fs_delete_entry() Chao Yu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox