summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2006-06-09 09:34:32 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2006-06-09 09:34:32 -0400
commit4e5ccf60c5aa79d325c123f47d288a068166f389 (patch)
treeacc16e1c85eb4348f4faf5288463f236d61e0fcc
parent860de07139980afe9856cc31eb5efbf321bbcea4 (diff)
downloadtalos-obmc-linux-4e5ccf60c5aa79d325c123f47d288a068166f389.tar.gz
talos-obmc-linux-4e5ccf60c5aa79d325c123f47d288a068166f389.zip
NFS: Fix typo in nfs_do_clone_mount()
Doh! Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
-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
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);
@@ -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
OpenPOWER on IntegriCloud