mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-11-27 01:11:31 +00:00
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>
This commit is contained in:
parent
4b38a6db01
commit
561f0b0ad0
1 changed files with 2 additions and 2 deletions
|
|
@ -119,7 +119,7 @@ Elong:
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_NFS_V4
|
#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 gss_api_mech *mech;
|
||||||
struct xdr_netobj oid;
|
struct xdr_netobj oid;
|
||||||
|
|
@ -166,7 +166,7 @@ static int nfs_negotiate_security(const struct dentry *parent,
|
||||||
}
|
}
|
||||||
flavors = page_address(page);
|
flavors = page_address(page);
|
||||||
ret = secinfo(parent->d_inode, &dentry->d_name, flavors);
|
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);
|
put_page(page);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue