diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-12-14 20:56:07 +0100 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-01-30 08:05:49 +0100 |
commit | 40c553193df41920de659f0446e5d214c862e827 (patch) | |
tree | 4ee62a79fae0ebba26d119a1aae89bfd1a552c10 /fs/nfs/namespace.c | |
parent | NFS: Clean up the nfs_find_client function. (diff) | |
download | linux-40c553193df41920de659f0446e5d214c862e827.tar.xz linux-40c553193df41920de659f0446e5d214c862e827.zip |
NFS: Remove the redundant nfs_client->cl_nfsversion
We can get the same information from the rpc_ops structure instead.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/namespace.c')
-rw-r--r-- | fs/nfs/namespace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/namespace.c b/fs/nfs/namespace.c index acfc56f9edc0..be4ce1c3a3d8 100644 --- a/fs/nfs/namespace.c +++ b/fs/nfs/namespace.c @@ -188,7 +188,7 @@ static struct vfsmount *nfs_do_clone_mount(struct nfs_server *server, { #ifdef CONFIG_NFS_V4 struct vfsmount *mnt = NULL; - switch (server->nfs_client->cl_nfsversion) { + switch (server->nfs_client->rpc_ops->version) { case 2: case 3: mnt = vfs_kern_mount(&nfs_xdev_fs_type, 0, devname, mountdata); |