Skip to content
Commit 571fae6e authored by Martijn Coenen's avatar Martijn Coenen Committed by Jens Axboe
Browse files

loop: Rework lo_ioctl() __user argument casting



In preparation for a new ioctl that needs to copy_from_user(); makes the
code easier to read as well.

Signed-off-by: default avatarMartijn Coenen <maco@android.com>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 62ab466c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment