Commit 4e5ccf60 authored by Trond Myklebust's avatar Trond Myklebust

NFS: Fix typo in nfs_do_clone_mount()

Doh!
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 860de071
...@@ -2450,7 +2450,7 @@ static struct vfsmount *nfs_do_clone_mount(struct nfs_server *server, char *devn ...@@ -2450,7 +2450,7 @@ static struct vfsmount *nfs_do_clone_mount(struct nfs_server *server, char *devn
switch (server->rpc_ops->version) { switch (server->rpc_ops->version) {
case 2: case 2:
case 3: case 3:
mnt = vfs_kern_mount(&clone_nfs_fs_type, 0, devname, &mountdata); mnt = vfs_kern_mount(&clone_nfs_fs_type, 0, devname, mountdata);
break; break;
case 4: case 4:
mnt = vfs_kern_mount(&clone_nfs4_fs_type, 0, devname, mountdata); mnt = vfs_kern_mount(&clone_nfs4_fs_type, 0, devname, mountdata);
...@@ -2493,7 +2493,7 @@ static inline void unregister_nfs4fs(void) ...@@ -2493,7 +2493,7 @@ static inline void unregister_nfs4fs(void)
#define unregister_nfs4fs() #define unregister_nfs4fs()
static struct vfsmount *nfs_do_clone_mount(struct nfs_server *server, char *devname, struct nfs_clone_mount *mountdata) static struct vfsmount *nfs_do_clone_mount(struct nfs_server *server, char *devname, struct nfs_clone_mount *mountdata)
{ {
return vfs_kern_mount(&clone_nfs_fs_type, 0, devname, &mountdata); return vfs_kern_mount(&clone_nfs_fs_type, 0, devname, mountdata);
} }
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment