summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorZi Yan <ziy@nvidia.com>2026-09-20 22:28:02 -0400
committerAndrew Morton <akpm@linux-foundation.org>2026-10-08 22:55:15 -0700
commitb2c1a445f87a553f04ccaefd4e700c7e404a70e5 (patch)
tree52781f396f6c0a6f081534c6135006691f912b32 /include/linux
parent36c9ce320c3cf0f415d11c173900c30db0ac883d (diff)
downloadlinux-b2c1a445f87a553f04ccaefd4e700c7e404a70e5.tar.gz
linux-b2c1a445f87a553f04ccaefd4e700c7e404a70e5.zip
f2fs: stop using PG_private
f2fs sets its PAGE_PRIVATE_* flags in page->private and checking page->private != NULL is equivalent to checking PG_private. Change PagePrivate() to page_private(). Meanwhile, in set_page_private_##name(), page->private is first set to 0/NULL before an PAGE_PRIVATE_* flag is set, but it can cause confusion when PG_private is removed and page->private != NULL is used instead. Change it to initialize page->private to PAGE_PRIVATE_NOT_POINTER instead and retain the original semantics. It prepares for a future commit that removes PG_private. No functional change intended. Link: https://lore.kernel.org/20260920-remove-pg_private-v5-6-bb68b6a21869@nvidia.com Signed-off-by: Zi Yan <ziy@nvidia.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Acked-by: Usama Arif <usama.arif@linux.dev> Acked-by: Chao Yu <chao@kernel.org> Reviewed-by: David Hildenbrand (Arm) <david@kernel.org> Assisted-by: LLM Cc: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions