diff options
author | David Teigland <teigland@redhat.com> | 2006-01-16 06:48:01 -0500 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-01-16 10:50:40 -0500 |
commit | fba7b940194465ac7a8f0cdf793959fb5fbb8834 (patch) | |
tree | 132a2af94f6e500f66080ff207f89a878ae1647f /include | |
parent | b346671fa196abaf82ed3e1842f981209f7887af (diff) |
[PATCH] Add fs_subsys to enable filesystems to use sysfs
This creates an "fs" subdirectory in sysfs so that GFS2 (or any other
filesystem, come to that) can make use of sysfs.
Signed-off-by: David Teigland <teigland@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | 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 552cedfa6064..eabc80d22bbc 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -1293,6 +1293,9 @@ extern int vfs_statfs(struct super_block *, struct kstatfs *); | |||
1293 | #define FLOCK_VERIFY_READ 1 | 1293 | #define FLOCK_VERIFY_READ 1 |
1294 | #define FLOCK_VERIFY_WRITE 2 | 1294 | #define FLOCK_VERIFY_WRITE 2 |
1295 | 1295 | ||
1296 | /* /sys/fs */ | ||
1297 | extern struct subsystem fs_subsys; | ||
1298 | |||
1296 | extern int locks_mandatory_locked(struct inode *); | 1299 | extern int locks_mandatory_locked(struct inode *); |
1297 | extern int locks_mandatory_area(int, struct inode *, struct file *, loff_t, size_t); | 1300 | extern int locks_mandatory_area(int, struct inode *, struct file *, loff_t, size_t); |
1298 | 1301 | ||