summaryrefslogtreecommitdiff
path: root/fs/nfs
diff options
context:
space:
mode:
authorBryan Schumaker <bjschuma@netapp.com>2011-04-12 08:47:15 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2011-04-12 19:34:23 -0400
commit561f0b0ad073859a87d22845ddfd9df149b22e5f (patch)
tree14ac040cb0f709854ba71513332b5b3871b87b4b /fs/nfs
parent4b38a6db01b09198f4045661815a0039c3d80660 (diff)
downloadlinux-3.10-561f0b0ad073859a87d22845ddfd9df149b22e5f.tar.gz
linux-3.10-561f0b0ad073859a87d22845ddfd9df149b22e5f.tar.bz2
linux-3.10-561f0b0ad073859a87d22845ddfd9df149b22e5f.zip
NFS: Remove unused argument from nfs_find_best_sec()
The inode was used in an earlier version of the code, but it isn't used anymore. Signed-off-by: Bryan Schumaker <bjschuma@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs')
-rw-r--r--fs/nfs/namespace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/namespace.c b/fs/nfs/namespace.c
index 89fc160fd5b..1f063bacd28 100644
--- a/fs/nfs/namespace.c
+++ b/fs/nfs/namespace.c
@@ -119,7 +119,7 @@ Elong:
}
#ifdef CONFIG_NFS_V4
-static rpc_authflavor_t nfs_find_best_sec(struct nfs4_secinfo_flavors *flavors, struct inode *inode)
+static rpc_authflavor_t nfs_find_best_sec(struct nfs4_secinfo_flavors *flavors)
{
struct gss_api_mech *mech;
struct xdr_netobj oid;
@@ -166,7 +166,7 @@ static int nfs_negotiate_security(const struct dentry *parent,
}
flavors = page_address(page);
ret = secinfo(parent->d_inode, &dentry->d_name, flavors);
- *flavor = nfs_find_best_sec(flavors, dentry->d_inode);
+ *flavor = nfs_find_best_sec(flavors);
put_page(page);
}