summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAlexander Viro <viro@math.psu.edu>2002-02-06 17:57:09 -0800
committerLinus Torvalds <torvalds@penguin.transmeta.com>2002-02-06 17:57:09 -0800
commit90f348bda964cefc745a83045c82c0490a6943d6 (patch)
tree6590e82f4edb9701dc558a4bdba50f2a198e5e9a /include/linux
parent70861a8b671858082263a72bc2e0e943f7cfad3a (diff)
[PATCH] (4/6) more ->get_sb()
we are done with nodev filesystems - removed dead code in super.c and fs.h
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/fs.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 8e3ce34f39da..68902b1c4240 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -964,17 +964,14 @@ struct super_block *get_sb_nodev(struct file_system_type *fs_type,
int flags, void *data,
int (*fill_super)(struct super_block *, void *, int));
-#define DECLARE_FSTYPE(var,type,read,flags) \
+#define DECLARE_FSTYPE_DEV(var,type,read) \
struct file_system_type var = { \
name: type, \
read_super: read, \
- fs_flags: flags, \
+ fs_flags: FS_REQUIRES_DEV, \
owner: THIS_MODULE, \
}
-#define DECLARE_FSTYPE_DEV(var,type,read) \
- DECLARE_FSTYPE(var,type,read,FS_REQUIRES_DEV)
-
/* Alas, no aliases. Too much hassle with bringing module.h everywhere */
#define fops_get(fops) \
(((fops) && (fops)->owner) \