]> bbs.cooldavid.org Git - net-next-2.6.git/commit - init/do_mounts_rd.c
bzip2/lzma: use a table to search for initramfs compression formats
authorH. Peter Anvin <hpa@zytor.com>
Sun, 4 Jan 2009 22:42:52 +0000 (14:42 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Sun, 4 Jan 2009 23:53:35 +0000 (15:53 -0800)
commitb172fd882d201cf8aa67cddd9c1a023421fd4956
tree31416fc046512818b0e939a93f019fe735a7de59
parent30d65dbfe3add7f010a075991dc0bfeaebb7d9e1
bzip2/lzma: use a table to search for initramfs compression formats

Impact: Code simplification

Instead of open-coding testing for initramfs compression formats, use
a table.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
init/do_mounts_rd.c