]> 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)
commit263e46a73bc105f9fdd8dd2b6528d3405b5ef29e
treec63c2417417cd40c65236f35d697aff0ada5ec1b
parent19dad7d3aefecb11135f95340b9dfe0cf89b6d17
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