]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] 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)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 29 Aug 2011 07:14:57 +0000 (00:14 -0700)
commitbc9740decdd6150a5790b3072aa96937e30e5c2d
tree7e62ac2c6c50287c0ccdc470e2301f8cfde9d3bc
parentd1a10db0cc5b97d383c46ccf79b71a0b670d0a68
[SCSI] 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