diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2019-12-09 14:11:38 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2020-01-21 04:12:42 +0300 |
commit | 25e5d4df3b46a345dccc0a07f998ce443077b4ff (patch) | |
tree | f014209fd64fd0bbcb03bc8e82e0b41ba804184f /fs/adfs/adfs.h | |
parent | 08ead1b8b98d90795bf934d93a718328d11f6ce6 (diff) | |
download | linux-25e5d4df3b46a345dccc0a07f998ce443077b4ff.tar.xz |
fs/adfs: mostly divorse inode number from indirect disc address
Avoid using the inode number as the indirect disc address, even though
these currently have the same value.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/adfs/adfs.h')
-rw-r--r-- | fs/adfs/adfs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/adfs/adfs.h b/fs/adfs/adfs.h index c05555252fec..699c4fa8b78b 100644 --- a/fs/adfs/adfs.h +++ b/fs/adfs/adfs.h @@ -32,6 +32,7 @@ static inline u16 adfs_filetype(u32 loadaddr) struct adfs_inode_info { loff_t mmu_private; __u32 parent_id; /* parent indirect disc address */ + __u32 indaddr; /* object indirect disc address */ __u32 loadaddr; /* RISC OS load address */ __u32 execaddr; /* RISC OS exec address */ unsigned int attr; /* RISC OS permissions */ |