]> www.infradead.org Git - users/jedix/linux-maple.git/commit
qla2xxx: Return sysfs error codes appropriate to conditions.
authorJoe Carnuccio <joe.carnuccio@qlogic.com>
Tue, 16 Aug 2011 18:31:53 +0000 (11:31 -0700)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Fri, 16 Dec 2011 22:29:25 +0000 (14:29 -0800)
commit4b0c047298112278046a5116543fbf2251cf0ccd
tree6be5334ce1915f01e9485a8363e67e4facd64af0
parentd2c45e5b42da0bb2035195baf7045ff2f58753c7
qla2xxx: Return sysfs error codes appropriate to conditions.

Return sysfs error codes that match the conditions encountered.
This prevents sysfs from retrying a request which is conditioned
to fail under the current circumstance.

Signed-off-by: Joe Carnuccio <joe.carnuccio@qlogic.com>
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla2xxx/qla_attr.c