]> git.baikalelectronics.ru Git - kernel.git/commit
viotape: Use unlocked_ioctl
authorStephen Rothwell <sfr@canb.auug.org.au>
Fri, 23 May 2008 05:12:23 +0000 (15:12 +1000)
committerPaul Mackerras <paulus@samba.org>
Mon, 30 Jun 2008 12:30:26 +0000 (22:30 +1000)
commit5661910841e764ec012d826143ca7112e05d4e76
treeeb4a1938df580931989a94e03f29b1a51c975f36
parent2d3c496c9fe3e073b676c677a9c768f894e97af5
viotape: Use unlocked_ioctl

This pushes the BKL down into the driver.  Based on a patch by Alan Cox.

We need to do it this way for now as the inode parameter of viotap_ioctl
is used internally as a flag.  We should do a further cleanup patch.

Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
drivers/char/viotape.c