Skip to content

Commit

Permalink
NFS: Fix typo in nfs_do_clone_mount()
Browse files Browse the repository at this point in the history
Doh!

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
  • Loading branch information
Trond Myklebust authored and Trond Myklebust committed Jun 9, 2006
1 parent 860de07 commit 4e5ccf6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/nfs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -2450,7 +2450,7 @@ static struct vfsmount *nfs_do_clone_mount(struct nfs_server *server, char *devn
switch (server->rpc_ops->version) {
case 2:
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;
case 4:
mnt = vfs_kern_mount(&clone_nfs4_fs_type, 0, devname, mountdata);
Expand Down Expand Up @@ -2493,7 +2493,7 @@ static inline void unregister_nfs4fs(void)
#define unregister_nfs4fs()
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

Expand Down

0 comments on commit 4e5ccf6

Please sign in to comment.