[PATCH] get rid of struct file use in blkdev_ioctl() BLKBSZSET
authorAl Viro <al@aretha.pdmi.ras.ru>
Fri, 19 Sep 2008 07:08:13 +0000 (03:08 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 21 Oct 2008 11:49:12 +0000 (07:49 -0400)
commit6af3a56e1dd4d95836a47214e5c60d5b749a5501
tree757b01fe8668783fcf52a4e8fe82c5d8ebbc6b72
parent45048d0961cdbf7ddfba906797ad8cb42489e070
[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: Al Viro <viro@zeniv.linux.org.uk>
block/ioctl.c