mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
rpc: remove unneeded function parameter in gss_add_msg()
The pointer to struct gss_auth parameter in gss_add_msg is not really needed
after commit 5b7ddd4a
. Zap it.
Signed-off-by: Suresh Jayaraman <sjayaraman@suse.de>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
parent
e4ee5d4dfd
commit
053e324f67
1 changed files with 2 additions and 2 deletions
|
@ -304,7 +304,7 @@ __gss_find_upcall(struct rpc_inode *rpci, uid_t uid)
|
||||||
* to that upcall instead of adding the new upcall.
|
* to that upcall instead of adding the new upcall.
|
||||||
*/
|
*/
|
||||||
static inline struct gss_upcall_msg *
|
static inline struct gss_upcall_msg *
|
||||||
gss_add_msg(struct gss_auth *gss_auth, struct gss_upcall_msg *gss_msg)
|
gss_add_msg(struct gss_upcall_msg *gss_msg)
|
||||||
{
|
{
|
||||||
struct rpc_inode *rpci = gss_msg->inode;
|
struct rpc_inode *rpci = gss_msg->inode;
|
||||||
struct inode *inode = &rpci->vfs_inode;
|
struct inode *inode = &rpci->vfs_inode;
|
||||||
|
@ -445,7 +445,7 @@ gss_setup_upcall(struct rpc_clnt *clnt, struct gss_auth *gss_auth, struct rpc_cr
|
||||||
gss_new = gss_alloc_msg(gss_auth, uid, clnt, gss_cred->gc_machine_cred);
|
gss_new = gss_alloc_msg(gss_auth, uid, clnt, gss_cred->gc_machine_cred);
|
||||||
if (IS_ERR(gss_new))
|
if (IS_ERR(gss_new))
|
||||||
return gss_new;
|
return gss_new;
|
||||||
gss_msg = gss_add_msg(gss_auth, gss_new);
|
gss_msg = gss_add_msg(gss_new);
|
||||||
if (gss_msg == gss_new) {
|
if (gss_msg == gss_new) {
|
||||||
struct inode *inode = &gss_new->inode->vfs_inode;
|
struct inode *inode = &gss_new->inode->vfs_inode;
|
||||||
int res = rpc_queue_upcall(inode, &gss_new->msg);
|
int res = rpc_queue_upcall(inode, &gss_new->msg);
|
||||||
|
|
Loading…
Reference in a new issue