From 702ff7f973cdf8783dbf47239a27a8176b05aa51 Mon Sep 17 00:00:00 2001 From: Alexander Viro Date: Wed, 6 Feb 2002 05:57:58 -0800 Subject: [PATCH] (2/8) ->get_sb() switchover get_sb_bdev() et.al. get a new argument (fill_super) and become exported. --- include/linux/fs.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'include/linux') 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, \ -- cgit v1.2.3