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

Commit 2a2904f4 authored by Martijn Coenen's avatar Martijn Coenen
Browse files

UPSTREAM: 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: I59d35bf8cc7af42c3a2957ecd5d0163382d08453
parent 45ec0edd
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