logo       

[PATCH] md - 1 of 1 - Fix stupid oops in recent md.c module changes: msg#00145

linux.raid

Subject: [PATCH] md - 1 of 1 - Fix stupid oops in recent md.c module changes


### Comments for ChangeSet


drivers/md/md.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/md/md.c~md-module-fix-2 drivers/md/md.c

----------- Diffstat output ------------
./drivers/md/md.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

diff ./drivers/md/md.c~current~ ./drivers/md/md.c
--- ./drivers/md/md.c~current~ 2003-03-28 10:34:51.000000000 +1100
+++ ./drivers/md/md.c 2003-03-28 10:34:51.000000000 +1100
@@ -1714,8 +1714,8 @@ static int do_md_run(mddev_t * mddev)
err = mddev->pers->run(mddev);
if (err) {
printk(KERN_ERR "md: pers->run() failed ...\n");
- mddev->pers = NULL;
module_put(mddev->pers->owner);
+ mddev->pers = NULL;
return -EINVAL;
}
atomic_set(&mddev->writes_pending,0);
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise