X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Ffs.h;h=2d8b348c11923ad57d803982040c3563bf612e52;hb=5a40f09baa3d74e9e6f1bd86a9998a10fbba012a;hp=dba4cbd157ee2ff7b002362e9ed0a39420ab3f26;hpb=199f4c9f76fd8b030405abddf294e771f888de03;p=linux-2.6 diff --git a/include/linux/fs.h b/include/linux/fs.h index dba4cbd157..2d8b348c11 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -1100,7 +1100,7 @@ struct super_operations { int (*statfs) (struct dentry *, struct kstatfs *); int (*remount_fs) (struct super_block *, int *, char *); void (*clear_inode) (struct inode *); - void (*umount_begin) (struct super_block *); + void (*umount_begin) (struct vfsmount *, int); int (*show_options)(struct seq_file *, struct vfsmount *); int (*show_stats)(struct seq_file *, struct vfsmount *); @@ -1767,7 +1767,7 @@ extern struct inode_operations simple_dir_inode_operations; struct tree_descr { char *name; const struct file_operations *ops; int mode; }; struct dentry *d_alloc_name(struct dentry *, const char *); extern int simple_fill_super(struct super_block *, int, struct tree_descr *); -extern int simple_pin_fs(char *name, struct vfsmount **mount, int *count); +extern int simple_pin_fs(struct file_system_type *, struct vfsmount **mount, int *count); extern void simple_release_fs(struct vfsmount **mount, int *count); extern ssize_t simple_read_from_buffer(void __user *, size_t, loff_t *, const void *, size_t);