dm ioctl: remove lock_kernel
authorAlasdair G Kergon <agk@redhat.com>
Fri, 8 Feb 2008 02:09:53 +0000 (02:09 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 8 Feb 2008 02:09:53 +0000 (02:09 +0000)
commit27238b2bea89b1808b570bece6777ab2abc52fe2
treeca07380f13018c23932c22c883c0f7ca78a4b261
parentb9249e556877643b940e4543824a3de5c85bce49
dm ioctl: remove lock_kernel

Remove lock_kernel() from the device-mapper ioctls - there should
be sufficient internal locking already where required.

Also remove some superfluous casts.

Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-ioctl.c