commit | 9f475ebff8e437ccccb3cf0259b5de7540f413be | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Wed Dec 12 08:41:18 2018 +0100 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Tue Jan 08 21:57:41 2019 -0500 |
tree | c9ff04a4b565cf50e315f029a1e253424711213e | |
parent | bfeffd155283772bbe78c6a05dec7c0128ee500c [diff] |
scsi: gdth: refactor ioc_general This function is a huge mess with duplicated error handling. Split out a few useful helpers and use goto labels to untangle the error handling and no-data ioctl handling. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>