]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
block: clean up cmdfilter sysfs interface
authorAdel Gadllah <adel.gadllah@gmail.com>
Sat, 16 Aug 2008 05:21:06 +0000 (14:21 +0900)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 27 Aug 2008 07:50:19 +0000 (09:50 +0200)
commita4a778971b9cfcbedb8648ba502d801f7db04c47
treef8e66d6a6a53f0b277009763e703da1b0f9fc58b
parent4beab5c623fef4622f9a8593f85760ff10b5a3f7
block: clean up cmdfilter sysfs interface

This patch changes the interface of the cmd filter to use a +/-
notation like:

echo -- +0x02 +0x03 -0x08

If neither + or - is given it defaults to + (allow command).

Note: The interface was added in 2.6.17-rc1 and is unused and
undocumented so far so it's safe to change it.

Reviewed-by: Matthew Wilcox <willy@linux.intel.com>
Reviewed-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: jens.axboe@oracle.com
Cc: James.Bottomley@hansenpartnership.com
Cc: dan.j.williams@intel.com
Cc: pjones@redhat.com
Cc: viro@zeniv.linux.org.uk
Cc: dougg@torque.net
Signed-off-by: Adel Gadllah <adel.gadllah@gmail.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/cmd-filter.c