ufs: fix logics in "ufs: make fsck -f happy"
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 14 Jun 2017 19:17:32 +0000 (15:17 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 14 Jun 2017 19:17:32 +0000 (15:17 -0400)
commit96ecff14225ad40a29f4d5cfa6bd9266c8e1e89a
treec63c2417417cd40c65236f35d697aff0ada5ec1b
parent67a70017fa0a152657bc7e337e69bb9c9f5549bf
ufs: fix logics in "ufs: make fsck -f happy"

Storing stats _only_ at new locations is wrong for UFS1; old
locations should always be kept updated.  The check for "has
been converted to use of new locations" is also wrong - it
should be "->fs_maxbsize is equal to ->fs_bsize".

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ufs/super.c