projects
/
wrapfs-4.13.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36c8a3d
)
md: fix /proc/mdstat refcounting
author
Akinbou Mita
<akinobu.mita@gmail.com>
Mon, 26 Mar 2007 21:43:10 +0000
(23:43 +0200)
committer
Adrian Bunk
<bunk@stusta.de>
Mon, 26 Mar 2007 21:43:10 +0000
(23:43 +0200)
I have seen mdadm oops after successfully unloading md module.
This patch privents from unloading md module while
mdadm is polling /proc/mdstat.
Signed-off-by: Akinbou Mita <akinobu.mita@gmail.com>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
drivers/md/md.c
patch
|
blob
|
history
diff --git
a/drivers/md/md.c
b/drivers/md/md.c
index 0471ebff482ffa4cf4c6df813fb5283c59813bdf..1b1fae8b58b68b2f9168df55351afcdde8da47d9 100644
(file)
--- a/
drivers/md/md.c
+++ b/
drivers/md/md.c
@@
-4325,6
+4325,7
@@
static unsigned int mdstat_poll(struct file *filp, poll_table *wait)
}
static struct file_operations md_seq_fops = {
+ .owner = THIS_MODULE,
.open = md_seq_open,
.read = seq_read,
.llseek = seq_lseek,