block: Use rw_copy_check_uvector()
authorKent Overstreet <kmo@daterainc.com>
Wed, 7 Aug 2013 21:20:17 +0000 (14:20 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 8 Nov 2013 16:02:14 +0000 (09:02 -0700)
commite0ce0eacb3197ad6e4ae37006c73af9411f97ecc
tree132ece8fa1907169c50a54e12322db3d35a2def0
parent23779fbc99302dddab7f056ae47c3463169cbb64
block: Use rw_copy_check_uvector()

No need for silly open coding - and struct sg_iovec has exactly the same
layout as struct iovec...

Signed-off-by: Kent Overstreet <kmo@daterainc.com>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/scsi_ioctl.c