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

Skip to content
Commit 77a5e7c3 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>
Bug: 148607611
(cherry picked from commit 571fae6e290d64a3e8132c455e7786c99c467ed1)
Change-Id: I61cb8a6771f517f19ea87a145ab02827f46ab850
parent e8c67fbb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment