]> err.no Git - linux-2.6/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)
commit10c0ad4dd9ecc3d4141fecbe74c9f18d7f904fb7
treeeb4a1938df580931989a94e03f29b1a51c975f36
parent74f0609526afddd88bef40b651da24f3167b10b2
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