aboutsummaryrefslogtreecommitdiff
path: root/include/linux/glob.h
AgeCommit message (Collapse)AuthorFilesLines
2014-08-06lib: add lib/glob.cGeorge Spelvin1-0/+9
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. [[email protected]: fix sparse warning] Signed-off-by: George Spelvin <[email protected]> Cc: Randy Dunlap <[email protected]> Cc: Tejun Heo <[email protected]> Cc: Ingo Molnar <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>