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

Commit 3393e599 authored by Martijn Coenen's avatar Martijn Coenen
Browse files

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: default avatarMartijn Coenen <maco@android.com>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
(cherry picked from commit 571fae6e290d64a3e8132c455e7786c99c467ed1)
Bug: 148607611
Change-Id: Ie37d0ed6bfc91d2a55c070446e5c54c8343a7170
parent 052e9ce4
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