xfs: collapse allocsize and biosize mount option handling
authorEric Sandeen <sandeen@redhat.com>
Tue, 25 Aug 2015 00:05:13 +0000 (10:05 +1000)
committerDave Chinner <david@fromorbit.com>
Tue, 25 Aug 2015 00:05:13 +0000 (10:05 +1000)
commit2ccf4a9b18868b0900072e6d5d15a04254a07345
treee13cc0bb8a3537b6616e59b763c05710d575a3a9
parent037542345a82aaaa228ec280fe6ddff1568d169f
xfs: collapse allocsize and biosize mount option handling

The allocsize and biosize mount options are handled identically,
other than allocsize accepting suffixes.  suffix_kstrtoint handles
bare numbers just fine too, so these can be collapsed.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_super.c