From: "Sachin P. Sant" <sachinp@in.ibm.com>
To: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: linux-kernel <linux-kernel@vger.kernel.org>,
linux-s390@vger.kernel.org, schwidefsky@de.ibm.com,
heiko.carstens@de.ibm.com, Mel Gorman <mel@csn.ul.ie>,
Alexey Dobriyan <adobriyan@gmail.com>
Subject: [Patch] Remove remaining ref to proc_dir_entry::owner
Date: Fri, 06 Feb 2009 19:53:16 +0530 [thread overview]
Message-ID: <498C47D4.1010305@in.ibm.com> (raw)
In-Reply-To: <20090207000636.ee67c759.sfr@canb.auug.org.au>
[-- Attachment #1: Type: text/plain, Size: 230 bytes --]
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@in.ibm.com>
Cc : Alexey Dobriyan <adobriyan@gmail.com>
---
Thanks
-Sachin
[-- Attachment #2: remove-remaining-proc-dir-entry-owner-refs.patch --]
[-- Type: text/x-patch, Size: 948 bytes --]
* Remove remaining references to struct proc_dir_entry::owner
Signed-off-by : Sachin Sant <sachinp@in.ibm.com>
Cc : Alexey Dobriyan <adobriyan@gmail.com>
---
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:
prev parent reply other threads:[~2009-02-06 14:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-06 9:33 Next 0205 build break : drivers/s390/block/dasd_proc.o Sachin P. Sant
2009-02-06 13:06 ` Stephen Rothwell
2009-02-06 14:23 ` Sachin P. Sant [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=498C47D4.1010305@in.ibm.com \
--to=sachinp@in.ibm.com \
--cc=adobriyan@gmail.com \
--cc=heiko.carstens@de.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=mel@csn.ul.ie \
--cc=schwidefsky@de.ibm.com \
--cc=sfr@canb.auug.org.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox