fsck: use getmntent_r instead of open-coded parsing. By Vladimir
authorDenis Vlasenko <vda.linux@googlemail.com>
Wed, 20 Aug 2008 02:38:48 +0000 (02:38 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Wed, 20 Aug 2008 02:38:48 +0000 (02:38 -0000)
commitb9f5d59893ee664a6b59f321a540ea63c5dccd40
treebd827aec8896c8c9eefdbfb43974c82c8efa5a44
parentf31c3b677d588795b18f02a6b8de22057bfab4af
fsck: use getmntent_r instead of open-coded parsing. By Vladimir

function                                             old     new   delta
create_fs_device                                     125     158     +33
parse_word                                            41       -     -41
parse_escape                                          55       -     -55
fsck_main                                           2246    1893    -353
------------------------------------------------------------------------------
(add/remove: 0/2 grow/shrink: 1/1 up/down: 33/-449)          Total: -416 bytes
e2fsprogs/fsck.c