]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libblkid: add extra checks to XFS prober
authorKarel Zak <kzak@redhat.com>
Wed, 19 Feb 2014 12:27:56 +0000 (13:27 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 19 Feb 2014 12:27:56 +0000 (13:27 +0100)
commit53e6896ab884947311496d974c5a900aae3631a3
tree61c31266ba78da7fc0481766f93e33a4564167f5
parentc4172cc3bb1702b7d4fc929877990753f3252a99
libblkid: add extra checks to XFS prober

The current code rely on XFS magic string only. It seems too fragile.

Signed-off-by: Karel Zak <kzak@redhat.com>
libblkid/src/superblocks/xfs.c