[SCSI] sysfs: fix the sysfs_add_file_to_group interfaces
commit11f24fbdf511cf588c3a18e3208ee02d85db0020
authorJames Bottomley <James.Bottomley@HansenPartnership.com>
Thu, 3 Jan 2008 00:44:05 +0000 (2 18:44 -0600)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Wed, 23 Jan 2008 17:29:17 +0000 (23 11:29 -0600)
tree08b4367c7601b687edc8150be17989beb2230119
parentd0ad3bc97c06fba5d37b4ca03c03b7eeeda39c47
[SCSI] sysfs: fix the sysfs_add_file_to_group interfaces

I can't see a reason why these shouldn't work on every group.  However,
they only seem to work on named groups.  This patch allows the group
functions to work on anonymous groups (those with NULL names).

Acked-by: Tejun Heo <htejun@gmail.com>
Acked-by: Kay Sievers <kay.sievers@vrfy.org>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
fs/sysfs/file.c