summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorNeil Brown <neilb@cse.unsw.edu.au>2003-01-10 04:39:57 -0800
committerLinus Torvalds <torvalds@home.transmeta.com>2003-01-10 04:39:57 -0800
commitb58b7c713ecdab2c63fd9cad8c7f7c86f4e3a1e7 (patch)
treec89ba7c5fc285b5943127e7c53863969c018dc2c /include/linux
parentce64a1883755abf742409f3bca1e7f8788b5a729 (diff)
[PATCH] Some tidyup of svc_authenticate
We encode that status in the return value. Also, don't pass 'proc' parameter to ->accept, as it is implicit in rqstp.
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/sunrpc/svcauth.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/sunrpc/svcauth.h b/include/linux/sunrpc/svcauth.h
index 95a45edc2f99..50427c823a6f 100644
--- a/include/linux/sunrpc/svcauth.h
+++ b/include/linux/sunrpc/svcauth.h
@@ -83,7 +83,7 @@ struct auth_domain {
struct auth_ops {
char * name;
int flavour;
- int (*accept)(struct svc_rqst *rq, u32 *authp, int proc);
+ int (*accept)(struct svc_rqst *rq, u32 *authp);
int (*release)(struct svc_rqst *rq);
void (*domain_release)(struct auth_domain *);
};
@@ -99,7 +99,7 @@ extern struct auth_ops *authtab[RPC_AUTH_MAXFLAVOR];
#define SVC_PENDING 8
-extern int svc_authenticate(struct svc_rqst *rqstp, u32 *statp, u32 *authp, int proc);
+extern int svc_authenticate(struct svc_rqst *rqstp, u32 *authp);
extern int svc_authorise(struct svc_rqst *rqstp);
extern int svc_auth_register(rpc_authflavor_t flavor, struct auth_ops *aops);
extern void svc_auth_unregister(rpc_authflavor_t flavor);