X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=fs%2Framfs%2Finode.c;h=b9677335cc8d8c146c92daaf4e81b308a11121e8;hb=d6c93e1ddde769010f9c81bbfab41a9844c0e9ba;hp=14bd2246fb6d3403ad2dbe97c36a3988145a0026;hpb=33cbd30eaf24ea43af4fe161b6fb34a859b3f2e0;p=powerpc.git diff --git a/fs/ramfs/inode.c b/fs/ramfs/inode.c index 14bd2246fb..b9677335cc 100644 --- a/fs/ramfs/inode.c +++ b/fs/ramfs/inode.c @@ -185,16 +185,17 @@ static int ramfs_fill_super(struct super_block * sb, void * data, int silent) return 0; } -struct super_block *ramfs_get_sb(struct file_system_type *fs_type, - int flags, const char *dev_name, void *data) +int ramfs_get_sb(struct file_system_type *fs_type, + int flags, const char *dev_name, void *data, struct vfsmount *mnt) { - return get_sb_nodev(fs_type, flags, data, ramfs_fill_super); + return get_sb_nodev(fs_type, flags, data, ramfs_fill_super, mnt); } -static struct super_block *rootfs_get_sb(struct file_system_type *fs_type, - int flags, const char *dev_name, void *data) +static int rootfs_get_sb(struct file_system_type *fs_type, + int flags, const char *dev_name, void *data, struct vfsmount *mnt) { - return get_sb_nodev(fs_type, flags|MS_NOUSER, data, ramfs_fill_super); + return get_sb_nodev(fs_type, flags|MS_NOUSER, data, ramfs_fill_super, + mnt); } static struct file_system_type ramfs_fs_type = {