[SCSI] sysfs: add filter function to groups
commitd4acd722b7bb5f48b9fc3848e8c2a845b100d84f
authorJames Bottomley <James.Bottomley@HansenPartnership.com>
Wed, 31 Oct 2007 14:38:04 +0000 (31 09:38 -0500)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Wed, 23 Jan 2008 17:29:18 +0000 (23 11:29 -0600)
tree24c0ccb9cd13d79b47588d44b27b3f1eb91a0ec7
parentd52b3815a52456dcf1a45fbc344e23bb643b2bda
[SCSI] sysfs: add filter function to groups

This patch allows the various users of attribute_groups to selectively
allow the appearance of group attributes.  The primary consumer of
this will be the transport classes in which we currently have
elaborate attribute selection algorithms to do this same thing.

Acked-by: Greg KH <greg@kroah.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
fs/sysfs/group.c
include/linux/sysfs.h
kernel/params.c