[SCSI] libsas: sysfs phy control attributes should not be S_IWUGO
authorDarrick J. Wong <djwong@us.ibm.com>
Thu, 11 Jan 2007 22:15:35 +0000 (14:15 -0800)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sat, 13 Jan 2007 22:20:03 +0000 (16:20 -0600)
commitfe3b5bfe73ace420709f0cfb198b0ffc704bd38b
treebbdd0cae2c1c47fb26733aa83b8c3539ecb2d0e7
parent57ba07dc54b7657e69fe8ac42d83df21e415c85b
[SCSI] libsas: sysfs phy control attributes should not be S_IWUGO

Allowing the phy reset controls to be world-triggerable does not seem like
a terribly good idea because SAS devices can be disrupted (and ATA devices
are really disrupted) by a phy reset.  By default only root should be able
to do things like that.

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/scsi_transport_sas.c