summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexander Viro <viro@math.psu.edu>2002-02-06 05:57:58 -0800
committerLinus Torvalds <torvalds@athlon.transmeta.com>2002-02-06 05:57:58 -0800
commit702ff7f973cdf8783dbf47239a27a8176b05aa51 (patch)
tree8006c4c1dd3af7248557e9b49b8772a11acde36a /include
parent143845d146b39e0cff995ba43d8cd83739cf61fd (diff)
[PATCH] (2/8) ->get_sb() switchover
get_sb_bdev() et.al. get a new argument (fill_super) and become exported.
Diffstat (limited to 'include')
-rw-r--r--include/linux/fs.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index fd96319ad140..b2a0019e9e8b 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -946,6 +946,16 @@ struct file_system_type {
struct list_head fs_supers;
};
+struct super_block *get_sb_bdev(struct file_system_type *fs_type,
+ int flags, char *dev_name, void * data,
+ int (*fill_super)(struct super_block *, void *, int));
+struct super_block *get_sb_single(struct file_system_type *fs_type,
+ int flags, void *data,
+ int (*fill_super)(struct super_block *, void *, int));
+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) \
struct file_system_type var = { \
name: type, \