diff options
Diffstat (limited to 'fs/coda/inode.c')
-rw-r--r-- | fs/coda/inode.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/coda/inode.c b/fs/coda/inode.c index 7993b96ca348..5ea57c8c7f97 100644 --- a/fs/coda/inode.c +++ b/fs/coda/inode.c | |||
@@ -306,16 +306,16 @@ static int coda_statfs(struct dentry *dentry, struct kstatfs *buf) | |||
306 | 306 | ||
307 | /* init_coda: used by filesystems.c to register coda */ | 307 | /* init_coda: used by filesystems.c to register coda */ |
308 | 308 | ||
309 | static int coda_get_sb(struct file_system_type *fs_type, | 309 | static struct dentry *coda_mount(struct file_system_type *fs_type, |
310 | int flags, const char *dev_name, void *data, struct vfsmount *mnt) | 310 | int flags, const char *dev_name, void *data) |
311 | { | 311 | { |
312 | return get_sb_nodev(fs_type, flags, data, coda_fill_super, mnt); | 312 | return mount_nodev(fs_type, flags, data, coda_fill_super); |
313 | } | 313 | } |
314 | 314 | ||
315 | struct file_system_type coda_fs_type = { | 315 | struct file_system_type coda_fs_type = { |
316 | .owner = THIS_MODULE, | 316 | .owner = THIS_MODULE, |
317 | .name = "coda", | 317 | .name = "coda", |
318 | .get_sb = coda_get_sb, | 318 | .mount = coda_mount, |
319 | .kill_sb = kill_anon_super, | 319 | .kill_sb = kill_anon_super, |
320 | .fs_flags = FS_BINARY_MOUNTDATA, | 320 | .fs_flags = FS_BINARY_MOUNTDATA, |
321 | }; | 321 | }; |