befs: add check for ag_shift in superblock
authorLuis de Bethencourt <luisbg@osg.samsung.com>
Tue, 9 Aug 2016 21:23:36 +0000 (22:23 +0100)
committerLuis de Bethencourt <luisbg@osg.samsung.com>
Sat, 13 Aug 2016 16:13:56 +0000 (17:13 +0100)
commitd618287ab8d2a5df813d6482bcc7f81fc1e64c30
tree6ba371ea605e9f3a0e8da47bca751b1d81c64987
parent69f022921494efb8601ec3b11a97ee58cf336d74
befs: add check for ag_shift in superblock

ag_shift and blocks_per_ag contain the same information in different ways,
same as block_shift and block_size do. It is worth checking this two are
consistent, but since blocks_per_ag isn't documented as mandatory to use
some implementations of befs don't enforce this, so making it non-fatal if
they don't match and just having it as a warning.

Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
Signed-off-by: Salah Triki <salah.triki@gmail.com>
fs/befs/super.c
This page took 0.024386 seconds and 5 git commands to generate.