summaryrefslogtreecommitdiffstats
path: root/fs/adfs/adfs.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2019-06-04 15:49:41 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2019-06-27 02:14:13 +0200
commitcb88b5a387dd9ba9c36fd76c4cdc187cdce5974c (patch)
tree9b830ae34b2826122147f63929cb08ea09623f67 /fs/adfs/adfs.h
parentfs/adfs: add helper to get filesystem size (diff)
downloadlinux-cb88b5a387dd9ba9c36fd76c4cdc187cdce5974c.tar.xz
linux-cb88b5a387dd9ba9c36fd76c4cdc187cdce5974c.zip
fs/adfs: use format_version from disc_record
We only use the format version in one place during filesystem mount, so it is pointless storing it in the superblock structure. Also, we should be using the version from the disc record in the map rather than the boot block. 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.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/adfs/adfs.h b/fs/adfs/adfs.h
index ab13b5dd34a3..1c31861aa115 100644
--- a/fs/adfs/adfs.h
+++ b/fs/adfs/adfs.h
@@ -60,7 +60,6 @@ struct adfs_sb_info {
__u32 s_map_size; /* sector size of a map */
signed int s_map2blk; /* shift left by this for map->sector*/
unsigned int s_log2sharesize;/* log2 share size */
- __le32 s_version; /* disc format version */
unsigned int s_namelen; /* maximum number of characters in name */
};