aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/nfs/inode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c
index 550a84dd41a2..7ab2b38a990c 100644
--- a/fs/nfs/inode.c
+++ b/fs/nfs/inode.c
@@ -2450,7 +2450,7 @@ static struct vfsmount *nfs_do_clone_mount(struct nfs_server *server, char *devn
2450 switch (server->rpc_ops->version) { 2450 switch (server->rpc_ops->version) {
2451 case 2: 2451 case 2:
2452 case 3: 2452 case 3:
2453 mnt = vfs_kern_mount(&clone_nfs_fs_type, 0, devname, &mountdata); 2453 mnt = vfs_kern_mount(&clone_nfs_fs_type, 0, devname, mountdata);
2454 break; 2454 break;
2455 case 4: 2455 case 4:
2456 mnt = vfs_kern_mount(&clone_nfs4_fs_type, 0, devname, mountdata); 2456 mnt = vfs_kern_mount(&clone_nfs4_fs_type, 0, devname, mountdata);
@@ -2493,7 +2493,7 @@ static inline void unregister_nfs4fs(void)
2493#define unregister_nfs4fs() 2493#define unregister_nfs4fs()
2494static struct vfsmount *nfs_do_clone_mount(struct nfs_server *server, char *devname, struct nfs_clone_mount *mountdata) 2494static struct vfsmount *nfs_do_clone_mount(struct nfs_server *server, char *devname, struct nfs_clone_mount *mountdata)
2495{ 2495{
2496 return vfs_kern_mount(&clone_nfs_fs_type, 0, devname, &mountdata); 2496 return vfs_kern_mount(&clone_nfs_fs_type, 0, devname, mountdata);
2497} 2497}
2498#endif 2498#endif
2499 2499