summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorGeorge Spelvin <linux@horizon.com>2014-08-06 16:09:23 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2014-08-06 18:01:24 -0700
commitb01250856b25f4417c51aa33afc451fbf7da1484 (patch)
treed11b68368d63c1ae99814b930ce664d7fd3fa8e6 /init
parent62e7ca5280fd8cbf523970757e13f0324ce0daa0 (diff)
downloadlinux-b01250856b25f4417c51aa33afc451fbf7da1484.tar.bz2
lib: add lib/glob.c
This is a helper function from drivers/ata/libata_core.c, where it is used to blacklist particular device models. It's being moved to lib/ so other drivers may use it for the same purpose. This implementation in non-recursive, so is safe for the kernel stack. [akpm@linux-foundation.org: fix sparse warning] Signed-off-by: George Spelvin <linux@horizon.com> Cc: Randy Dunlap <rdunlap@infradead.org> Cc: Tejun Heo <tj@kernel.org> Cc: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions