findfs: fix LUKS and FAT detection routines; do not exit if corrupted
authorDenis Vlasenko <vda.linux@googlemail.com>
Sun, 12 Oct 2008 11:17:49 +0000 (11:17 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Sun, 12 Oct 2008 11:17:49 +0000 (11:17 -0000)
commitd5e305944a9db25f57b252cc9f56c18311e68481
tree5f76ea7623209d379a9ea34bfa943ef86af2032a
parentcdd1f732bc5b8447dd12b59613663b7d08fce20b
findfs: fix LUKS and FAT detection routines; do not exit if corrupted
 FAT fs makes us try to seek past volume

function                                             old     new   delta
volume_id_get_buffer                                 301     327     +26
volume_id_probe_luks                                  79      82      +3
get_attr_volume_id                                    73      65      -8
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/1 up/down: 29/-8)              Total: 21 bytes
util-linux/volume_id/fat.c
util-linux/volume_id/luks.c
util-linux/volume_id/util.c