]> git.ipfire.org Git - thirdparty/dracut.git/commit
btrfs: fix two bugs in module-setup.sh
authorCong Wang <xiyou.wangcong@gmail.com>
Mon, 30 Jan 2012 09:58:55 +0000 (17:58 +0800)
committerHarald Hoyer <harald@redhat.com>
Tue, 7 Feb 2012 11:14:21 +0000 (12:14 +0100)
commit418febfc4439cea5c5ab728bdd3e45e7705bd7a3
tree94e254093b6e0e17f2a7e4cad0a93b2b2cbe6693
parent6aafdc5c047dcabf4e9f6546a2bce55d17321562
btrfs: fix two bugs in module-setup.sh

First, $host_fs_types is an array.
Second, use strstr to match btrfs type.

Cc: Harald Hoyer <harald@redhat.com>
Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>
modules.d/90btrfs/module-setup.sh