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
..
2008-02-08 09:22:39 -08:00
2008-02-08 09:22:39 -08:00
2008-02-08 09:22:40 -08:00
2008-02-14 21:13:33 -08:00
2008-02-08 09:22:40 -08:00
2008-03-30 14:20:23 -07:00
2008-02-14 21:13:33 -08:00
2008-02-14 21:13:33 -08:00
2008-03-04 14:47:06 -08:00
2008-02-08 09:22:40 -08:00
2007-10-22 08:13:21 -07:00
2008-02-23 17:12:13 -08:00
2008-04-18 08:36:09 +01:00
2008-02-08 09:22:40 -08:00
2008-03-19 06:42:18 -04:00
2008-03-30 14:18:41 -07:00
2008-03-30 14:18:41 -07:00
2007-10-18 14:37:31 -07:00
2008-03-30 14:18:41 -07:00
2008-02-13 16:21:20 -08:00
2008-04-11 08:06:43 -07:00
2008-03-04 16:35:10 -08:00
2008-01-30 13:31:46 +01:00
2008-02-05 09:44:07 -08:00
2007-05-21 09:18:19 -07:00
2007-05-08 11:15:01 -07:00
2008-02-14 21:13:33 -08:00
2008-02-06 10:41:07 -08:00
2007-05-08 11:15:09 -07:00
2008-01-30 13:31:46 +01:00
2008-02-14 21:13:33 -08:00
2008-03-19 06:54:05 -04:00
2006-10-01 00:39:19 -07:00
2008-04-21 22:15:06 +00:00
2008-02-14 21:13:33 -08:00
2008-02-05 09:44:07 -08:00