lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1159274711.11901.460.camel@quoit.chygwyn.com>
Date:	Tue, 26 Sep 2006 13:45:11 +0100
From:	Steven Whitehouse <swhiteho@...hat.com>
To:	gregkh@...e.de
Cc:	linux-kernel@...r.kernel.org, Andrew Morton <akpm@...l.org>,
	Christoph Hellwig <hch@...radead.org>
Subject: [SYSFS] Add a declaration for fs_subsys


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@...hat.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



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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ