Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit df59c0ad authored by Alexey Zaytsev's avatar Alexey Zaytsev Committed by James Bottomley
Browse files

[SCSI] compat: don't perform unneeded copy in sg_io code



The members from 'status' in struct sg_io_hdr to the last are used to
transfer information from kernel to user space.  The values that user
space sets are just ignored.

Signed-off-by: default avatarAlexey Zaytsev <alexey.zaytsev@gmail.com>
Acked-by: default avatarJens Axboe <jens.axboe@oracle.com>
Acked-by: default avatarFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
parent dc577d55
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment