fs/adfs: add helper to get filesystem size

Add a helper to get the filesystem size from the disc record and
eliminate the "s_size" member of the adfs superblock structure.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Russell King 2019-06-04 14:49:36 +01:00 • committed by Al Viro
commit 275f5b99d6
2 changed files with 9 additions and 15 deletions