]> git.baikalelectronics.ru Git - kernel.git/commit
ufs: fix s_size/s_dsize users
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 14 Jun 2017 20:36:29 +0000 (16:36 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 14 Jun 2017 20:43:03 +0000 (16:43 -0400)
commit1c90ca60d4acd2c5e49aa9230e0ed3a23cd47bcf
tree984ec943e69b3f61920bc4eda674216a49552108
parenta5efb9b9efbb55c3d56aee7a4d9551cd04b6c65a
ufs: fix s_size/s_dsize users

For UFS2 we need 64bit variants; we even store them in uspi, but
use 32bit ones instead.  One wrinkle is in handling of reserved
space - recalculating it every time had been stupid all along, but
now it would become really ugly.  Just calculate it once...

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