commit | be1fd70fea1100c57f3aa1934ebb93abc474e50c | [log] [tgz] |
---|---|---|
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | Fri Jul 04 09:51:21 2008 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Fri Jul 04 09:51:21 2008 +0200 |
tree | fa187ff1f111326c599915b23c989e474694a453 | |
parent | 823ed72e8fe566983b121e8cc3147dd50ce63a8a [diff] |
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>