Whamcloud - gitweb
blkid: support .ko.gz in modules.dep parser
authorKarel Zak <kzak@redhat.com>
Sun, 23 Aug 2009 19:13:56 +0000 (21:13 +0200)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 28 Aug 2009 00:58:54 +0000 (20:58 -0400)
commit249c962ad8f2daabc403577d0c994e4c986c8f9a
tree20a3545c3e185571988466b01e9614f205360899
parent8bafedbf4a6889b20e119a667fc243909d283f85
blkid: support .ko.gz in modules.dep parser

The Linux kernel modules could be compressed, it means modules.dep
parser in libblid has to support .ko.gz extension too.

(Note, I've talked about this problem with Jon Masters and his
suggestion is to exec(/sbin/modinfo) rather than directly parse
modules.dep. BTW, the modules.dep file is deprecated.)

Address-Red-Hat-Bug: #518572
Signed-off-by: Karel Zak <kzak@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/blkid/probe.c