summaryrefslogtreecommitdiff
path: root/fs/jfs/jfs_incore.h
diff options
context:
space:
mode:
authorDave Kleikamp <dave.kleikamp@oracle.com>2023-10-05 09:16:14 -0500
committerDave Kleikamp <dave.kleikamp@oracle.com>2023-10-13 10:39:25 -0500
commita779ed754e52d582b8c0e17959df063108bd0656 (patch)
tree46f5c794994fd4f195f2bb07e82931f414bc6a3f /fs/jfs/jfs_incore.h
parent05d9ea1ceb62a55af6727a69269a4fd310edf483 (diff)
jfs: define xtree root and page independently
In order to make array bounds checking sane, provide a separate definition of the in-inode xtree root and the external xtree page. Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com> Tested-by: Manas Ghandat <ghandatmanas@gmail.com>
Diffstat (limited to 'fs/jfs/jfs_incore.h')
-rw-r--r--fs/jfs/jfs_incore.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jfs/jfs_incore.h b/fs/jfs/jfs_incore.h
index 721def69e732..dd4264aa9bed 100644
--- a/fs/jfs/jfs_incore.h
+++ b/fs/jfs/jfs_incore.h
@@ -66,7 +66,7 @@ struct jfs_inode_info {
lid_t xtlid; /* lid of xtree lock on directory */
union {
struct {
- xtpage_t _xtroot; /* 288: xtree root */
+ xtroot_t _xtroot; /* 288: xtree root */
struct inomap *_imap; /* 4: inode map header */
} file;
struct {