Skip to content
Commit 6af3a56e authored by Al Viro's avatar Al Viro Committed by Al Viro
Browse files

[PATCH] get rid of struct file use in blkdev_ioctl() BLKBSZSET



We need to do bd_claim() only if file hadn't been opened with O_EXCL
and then we have no need to use file itself as owner.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 45048d09
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