Whamcloud - gitweb
libblkid: Strengthen the JFS probe routine
authorTheodore Ts'o <tytso@mit.edu>
Sun, 24 Aug 2008 02:27:22 +0000 (22:27 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 24 Aug 2008 21:29:33 +0000 (17:29 -0400)
commitb41fb002257d4b997560cd77676b78219be03c24
tree8a91a06a9e9595ff9146e120dfd1656c59cdf1d2
parent78d89cda680498957e4ad78602751d1f905cee08
libblkid: Strengthen the JFS probe routine

Check to make sure a JFS filesystem is really correct by checking the
relationship between the following fields in the JFS superblock:
s_bsize, s_l2bsize, s_pbsize, s_l2pbsize, and s_l2bfactor.  Thanks to
Lesh Bogdanow for this suggestion.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/blkid/probe.c
lib/blkid/probe.h