fs/adfs: use format_version from disc_record
authorRussell King <rmk+kernel@armlinux.org.uk>
Tue, 4 Jun 2019 13:49:41 +0000 (14:49 +0100)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 27 Jun 2019 00:14:13 +0000 (20:14 -0400)
commitcb88b5a387dd9ba9c36fd76c4cdc187cdce5974c
tree9b830ae34b2826122147f63929cb08ea09623f67
parent275f5b99d6d4e6fccb7cea6783460939856c1306
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>
fs/adfs/adfs.h
fs/adfs/super.c