diff options
author | Chao Yu <chao@kernel.org> | 2022-12-21 13:13:45 +0100 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2023-01-04 21:56:04 +0100 |
commit | 6779b5db90c5b925293f7ccc5ed5336c5b24ed50 (patch) | |
tree | 62e39e29cb4b0ebefd0ea8b4cf326b8b94ee892d /fs/f2fs/f2fs.h | |
parent | f2fs: remove unused PAGE_PRIVATE_ATOMIC_WRITE (diff) | |
download | linux-6779b5db90c5b925293f7ccc5ed5336c5b24ed50.tar.xz linux-6779b5db90c5b925293f7ccc5ed5336c5b24ed50.zip |
f2fs: fix to call clear_page_private_reference in .{release,invalid}_folio
b763f3bedc2d ("f2fs: restructure f2fs page.private layout") missed
to call clear_page_private_reference() in .{release,invalid}_folio,
fix it, though it's not a big deal since folio_detach_private() was
called to clear all privae info and reference count in the page.
BTW, remove page_private_reference() definition as it never be used.
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/f2fs.h')
-rw-r--r-- | fs/f2fs/f2fs.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index 9c7df2f1df73..5fdefb82509d 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h @@ -1448,7 +1448,6 @@ static inline void clear_page_private_##name(struct page *page) \ } PAGE_PRIVATE_GET_FUNC(nonpointer, NOT_POINTER); -PAGE_PRIVATE_GET_FUNC(reference, REF_RESOURCE); PAGE_PRIVATE_GET_FUNC(inline, INLINE_INODE); PAGE_PRIVATE_GET_FUNC(gcing, ONGOING_MIGRATION); PAGE_PRIVATE_GET_FUNC(dummy, DUMMY_WRITE); |