OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.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
9544565
..
641b211
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,