[SYSFS] Add a declaration for fs_subsys

From: Steven Whitehouse
Date: Tue Sep 26 2006 - 08:39:12 EST

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@xxxxxxxxxx>
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;

+/* /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);


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/