]> git.baikalelectronics.ru Git - kernel.git/commit
paride: push ioctl down into driver
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Fri, 4 Jul 2008 07:51:21 +0000 (09:51 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 4 Jul 2008 07:51:21 +0000 (09:51 +0200)
commit999ee1a245ec2a1c5bff2168c2a51fb4b21b1daa
treefa187ff1f111326c599915b23c989e474694a453
parentb28a1f00f15c16c687fa091f7f34a30718f3c1d6
paride: push ioctl down into driver

Leaves us with lock_kernel for two methods.  Also remove a bogus printk
with no printk level and return -ENOTTY not -EINVAL for correctness.

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
(Jens: added smp_lock.h include to pt.c, otherwise it wont compile because
 of missing {un}lock_kernel() definition)

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/block/paride/pt.c