]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9cb90333cd66143da7174fcbafe88154a0b8212d
treec63c2417417cd40c65236f35d697aff0ada5ec1b
parent7d1efcfea1ecb2761f54121c3dd37773d9ef8827
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