Skip to content
Commit 5bd5e8d8 authored by Mike Snitzer's avatar Mike Snitzer
Browse files

dm: remove fmode_t argument from .prepare_ioctl hook



Use the fmode_t that is passed to dm_blk_ioctl() rather than
inconsistently (varies across targets) drop it on the floor by
overriding it with the fmode_t stored in 'struct dm_dev'.

All the persistent reservation functions weren't using the fmode_t they
got back from .prepare_ioctl so remove them.

Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent 971888c4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment