]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - block/scsi_ioctl.c
block: cleanup error handling in sg_io
authorChristoph Hellwig <hch@lst.de>
Fri, 22 Aug 2014 01:38:27 +0000 (20:38 -0500)
committerJens Axboe <axboe@fb.com>
Fri, 22 Aug 2014 01:42:01 +0000 (20:42 -0500)
commit2cada584b20007470931080c49310d85908449b0
tree1e2a191bc3e9017b6b40a961a6efdcb0d804fc54
parentaeac31819475ad0980cb3a13d5599f5a1127e83d
block: cleanup error handling in sg_io

Make sure we always clean up through the out label and just have
a single place to put the request.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/scsi_ioctl.c