[Patch] Remove remaining ref to proc_dir_entry::owner

From: Sachin P. Sant
Date: Fri Feb 06 2009 - 09:23:40 EST


Thanks Stephen.

Here is a patch to fix this issue.

* Remove remaining references to struct proc_dir_entry::owner

Signed-off-by : Sachin Sant <sachinp@xxxxxxxxxx>
Cc : Alexey Dobriyan <adobriyan@xxxxxxxxx>
---

Thanks
-Sachin


* Remove remaining references to struct proc_dir_entry::owner

Signed-off-by : Sachin Sant <sachinp@xxxxxxxxxx>
Cc : Alexey Dobriyan <adobriyan@xxxxxxxxx>
---

diff -Naurp a/drivers/s390/block/dasd_proc.c b/drivers/s390/block/dasd_proc.c
--- a/drivers/s390/block/dasd_proc.c 2009-02-06 21:58:57.000000000 +0530
+++ b/drivers/s390/block/dasd_proc.c 2009-02-06 22:01:48.000000000 +0530
@@ -318,7 +318,6 @@ dasd_proc_init(void)
dasd_proc_root_entry = proc_mkdir("dasd", NULL);
if (!dasd_proc_root_entry)
goto out_nodasd;
- dasd_proc_root_entry->owner = THIS_MODULE;
dasd_devices_entry = proc_create("devices",
S_IFREG | S_IRUGO | S_IWUSR,
dasd_proc_root_entry,
@@ -332,7 +331,6 @@ dasd_proc_init(void)
goto out_nostatistics;
dasd_statistics_entry->read_proc = dasd_statistics_read;
dasd_statistics_entry->write_proc = dasd_statistics_write;
- dasd_statistics_entry->owner = THIS_MODULE;
return 0;

out_nostatistics: