projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a91ee1
)
md: don't use locked_ioctl.
author
NeilBrown
<neilb@suse.de>
Tue, 26 May 2009 02:57:36 +0000
(12:57 +1000)
committer
NeilBrown
<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
patch
|
blob
|
history
diff --git
a/drivers/md/md.c
b/drivers/md/md.c
index 954456532acc6dfb497d97745065c13404ecc2b6..641b211fe3feb33e15cb1159e3a76ca26b90c124 100644
(file)
--- 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,