From: Steven Whitehouse <swhiteho@redhat.com>
To: gregkh@suse.de
Cc: linux-kernel@vger.kernel.org, Andrew Morton <akpm@osdl.org>,
Christoph Hellwig <hch@infradead.org>
Subject: [SYSFS] Add a declaration for fs_subsys
Date: Tue, 26 Sep 2006 13:45:11 +0100 [thread overview]
Message-ID: <1159274711.11901.460.camel@quoit.chygwyn.com> (raw)
The fs_subsys of sysfs does not have a declaration in any header
file, despite it being an exported symbol. This patch adds one so
that modules don't have to add their own. This is something used
by GFS2 (and already in the GFS2 tree) but I think can safely be
considered generic infrastructure.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
---
include/linux/fs.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 1d3e601..48f9821 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -1377,6 +1377,9 @@ extern struct subsystem fs_subsys;
#define FLOCK_VERIFY_READ 1
#define FLOCK_VERIFY_WRITE 2
+/* /sys/fs */
+extern struct subsystem fs_subsys;
+
extern int locks_mandatory_locked(struct inode *);
extern int locks_mandatory_area(int, struct inode *, struct file *, loff_t, size_t);
--
1.4.1
next reply other threads:[~2006-09-26 12:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-26 12:45 Steven Whitehouse [this message]
2006-09-26 16:00 ` Christoph Hellwig
2006-09-26 16:18 ` Steven Whitehouse
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=1159274711.11901.460.camel@quoit.chygwyn.com \
--to=swhiteho@redhat.com \
--cc=akpm@osdl.org \
--cc=gregkh@suse.de \
--cc=hch@infradead.org \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®