summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2026-03-26 12:54:18 +0300
committerChristian Brauner <brauner@kernel.org>2026-03-26 17:03:30 +0300
commit2811f2a82fafff40867b318360cc06143b088a7c (patch)
tree3e13c8888ec79387b48ea97cb7b1ecf0dadcaec8 /include
parent0f46a9e2743cb3ac813553dcef451d57d9c9dbab (diff)
downloadlinux-2811f2a82fafff40867b318360cc06143b088a7c.tar.xz
hugetlbfs: Stop using i_private_data
Instead of using i_private_data for resv_map pointer add the pointer into hugetlbfs private part of the inode. Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jan Kara <jack@suse.cz> Link: https://patch.msgid.link/20260326095354.16340-66-jack@suse.cz Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/hugetlb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/hugetlb.h b/include/linux/hugetlb.h
index 65910437be1c..fc5462fe943f 100644
--- a/include/linux/hugetlb.h
+++ b/include/linux/hugetlb.h
@@ -518,6 +518,7 @@ static inline struct hugetlbfs_sb_info *HUGETLBFS_SB(struct super_block *sb)
struct hugetlbfs_inode_info {
struct inode vfs_inode;
+ struct resv_map *resv_map;
unsigned int seals;
};