]> git.karo-electronics.de Git - linux-beck.git/commit
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, 8 Oct 2016 09:01:31 +0000 (10:01 +0100)
commitbbe1bd0b6bba138eaf441c6c964bde9866da8808
tree6b4ab39d99b91607e2b1d89a52834f1eaa3cc91a
parentd1a8c70676c7e2cd4b80f494aed17b5813f2be44
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