kernel_optimize_test/fs/sysfs
James Bottomley 0f4238958d [SCSI] sysfs: make group is_valid return a mode_t
We have a problem in scsi_transport_spi in that we need to customise
not only the visibility of the attributes, but also their mode.  Fix
this by making the is_visible() callback return a mode, with 0
indicating is not visible.

Also add a sysfs_update_group() API to allow us to change either the
visibility or mode of the files at any time on the fly.

Acked-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2008-04-22 15:16:31 -05:00
..
bin.c sysfs: add copyrights 2007-10-12 14:51:12 -07:00
dir.c SYSFS: Explicitly include required header file slab.h. 2008-04-19 19:10:27 -07:00
file.c [SCSI] sysfs: make group is_valid return a mode_t 2008-04-22 15:16:31 -05:00
group.c [SCSI] sysfs: make group is_valid return a mode_t 2008-04-22 15:16:31 -05:00
inode.c mm: bdi init hooks 2007-10-17 08:42:45 -07:00
Makefile
mount.c mm: bdi init hooks 2007-10-17 08:42:45 -07:00
symlink.c sysfs: Allow removal of symlinks in the sysfs root 2008-04-18 08:56:10 -07:00
sysfs.h [SCSI] sysfs: make group is_valid return a mode_t 2008-04-22 15:16:31 -05:00