[PATCH 26/42] fs: Remove i_private_data
Jan Kara <[email protected]> Thu, 26 Mar 2026 10:54:20 +0100
| Newsgroups | gmane.linux.kernel.aio.general,gmane.linux.file-systems,gmane.linux.block,gmane.comp.file-systems.ext4,gmane.linux.kernel.mm |
|---|---|
| Message-ID | <[email protected]> |
Nobody is using it anymore. Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Jan Kara <[email protected]> --- fs/inode.c | 1 - include/linux/fs.h | 2 -- 2 files changed, 3 deletions(-) diff --git a/fs/inode.c b/fs/inode.c index 4f98a5f04bbd..d5774e627a9c 100644 --- a/fs/inode.c +++ b/fs/inode.c @@ -283,7 +283,6 @@ int inode_init_always_gfp(struct super_block *sb, struct inode *inode, gfp_t gfp atomic_set(&mapping->nr_thps, 0); #endif mapping_set_gfp_mask(mapping, GFP_HIGHUSER_MOVABLE); - mapping->i_private_data = NULL; mapping->writeback_index = 0; init_rwsem(&mapping->invalidate_lock); lockdep_set_class_and_name(&mapping->invalidate_lock, diff --git a/include/linux/fs.h b/include/linux/fs.h index 0fc0cb23000e..d488459396f4 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -465,7 +465,6 @@ extern const struct address_space_operations empty_aops; * @wb_err: The most recent error which has occurred. * @i_private_lock: For use by the owner of the address_space. * @i_private_list: For use by the owner of the address_space. - * @i_private_data: For use by the owner of the address_space. */ struct address_space { struct inode *host; @@ -486,7 +485,6 @@ struct address_space { spinlock_t i_private_lock; struct list_head i_private_list; struct rw_semaphore i_mmap_rwsem; - void * i_private_data; } __attribute__((aligned(sizeof(long)))) __randomize_layout; /* * On most architectures that alignment is already the case; but -- 2.51.0 -- To unsubscribe, send a message with 'unsubscribe linux-aio' in the body to [email protected]. For more info on Linux AIO, see: http://www.kvack.org/aio/ Don't email: <a href=mailto:"[email protected]">[email protected]</a>