summaryrefslogtreecommitdiffstats
path: root/drivers/md/md.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2009-05-26 04:57:36 +0200
committerNeilBrown <neilb@suse.de>2009-05-26 04:57:36 +0200
commitb492b852cd8c99505708152c29a5e09a787af9de (patch)
treef26aa9676231a583e209a9397acfc4512061325e /drivers/md/md.c
parentmd: don't update curr_resync_completed without also updating reshape_position. (diff)
downloadlinux-b492b852cd8c99505708152c29a5e09a787af9de.tar.xz
linux-b492b852cd8c99505708152c29a5e09a787af9de.zip
md: don't use locked_ioctl.
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>
Diffstat (limited to 'drivers/md/md.c')
-rw-r--r--drivers/md/md.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c
index 954456532acc..641b211fe3fe 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -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,