]> 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)
commit5aedab59fcb51df803e4b74143f1fb3d4f0a5c10
tree7e62ac2c6c50287c0ccdc470e2301f8cfde9d3bc
parent75a2df6d3b1d0afa113a0ef8b6fe7baa82c19b34
[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