BACKPORT: 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> Bug: 148607611 (cherry picked from commit 571fae6e290d64a3e8132c455e7786c99c467ed1) Change-Id: I61cb8a6771f517f19ea87a145ab02827f46ab850
Loading
Please register or sign in to comment