Home
last modified time | relevance | path

Searched hist:a13165441d58b216adbd50252a9cc829d78a6bce (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/block/
H A Dloop.cdiff a13165441d58b216adbd50252a9cc829d78a6bce Thu Nov 08 07:01:05 CST 2018 Jan Kara <jack@suse.cz> loop: Push lo_ctl_mutex down into individual ioctls

Push acquisition of lo_ctl_mutex down into individual ioctl handling
branches. This is a preparatory step for pushing the lock down into
individual ioctl handling functions so that they can release the lock as
they need it. We also factor out some simple ioctl handlers that will
not need any special handling to reduce unnecessary code duplication.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jens Axboe <axboe@kernel.dk>