md: don't use locked_ioctl.
authorNeilBrown <neilb@suse.de>
Tue, 26 May 2009 02:57:36 +0000 (12:57 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 26 May 2009 02:57:36 +0000 (12:57 +1000)
md has no need for the BKL - it does its own locking.
So md_ioctl doesn't need to be a locked_ioctl.

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/md.c

index 954456532acc6dfb497d97745065c13404ecc2b6..641b211fe3feb33e15cb1159e3a76ca26b90c124 100644 (file)
@@ -5567,7 +5567,7 @@ static struct block_device_operations md_fops =
        .owner          = THIS_MODULE,
        .open           = md_open,
        .release        = md_release,
-       .locked_ioctl   = md_ioctl,
+       .ioctl          = md_ioctl,
        .getgeo         = md_getgeo,
        .media_changed  = md_media_changed,
        .revalidate_disk= md_revalidate,