commit | 571fae6e290d64a3e8132c455e7786c99c467ed1 | [log] [tgz] |
---|---|---|
author | Martijn Coenen <maco@android.com> | Wed May 13 15:38:43 2020 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Thu May 21 08:20:35 2020 -0600 |
tree | 930e09bdb96a8613a841595bbc9fb6f06054129e | |
parent | 62ab466ca881fe200c21aa74b65f8bd83ec482dc [diff] |
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: Martijn Coenen <maco@android.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>