[PATCH] md: helper function to match commands written to sysfs files
authorNeilBrown <neilb@suse.de>
Fri, 6 Jan 2006 08:20:41 +0000 (00:20 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 6 Jan 2006 16:34:07 +0000 (08:34 -0800)
commitbce74dac082787375e76d2b33726b94c9701fabc
treec653fdadc41cf35daae7455f794caec42cff05f0
parent1345b1d8adbdeceb1c871d9a4af5e2a700b341c6
[PATCH] md: helper function to match commands written to sysfs files

Commands written to sysfs files may, or my not, be \n terminated.  We want to
accept with case.  For this we use cmd_match.

Signed-off-by: Neil Brown <neilb@suse.de>
Acked-by: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/md.c