git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
net
/
sunrpc
/
auth_null.c
diff --git
a/net/sunrpc/auth_null.c
b/net/sunrpc/auth_null.c
index
f56767a
..
3be257d
100644
(file)
--- a/
net/sunrpc/auth_null.c
+++ b/
net/sunrpc/auth_null.c
@@
-60,8
+60,8
@@
nul_match(struct auth_cred *acred, struct rpc_cred *cred, int taskflags)
/*
* Marshal credential.
*/
/*
* Marshal credential.
*/
-static
u
32 *
-nul_marshal(struct rpc_task *task,
u
32 *p)
+static
__be
32 *
+nul_marshal(struct rpc_task *task,
__be
32 *p)
{
*p++ = htonl(RPC_AUTH_NULL);
*p++ = 0;
{
*p++ = htonl(RPC_AUTH_NULL);
*p++ = 0;
@@
-81,8
+81,8
@@
nul_refresh(struct rpc_task *task)
return 0;
}
return 0;
}
-static
u
32 *
-nul_validate(struct rpc_task *task,
u
32 *p)
+static
__be
32 *
+nul_validate(struct rpc_task *task,
__be
32 *p)
{
rpc_authflavor_t flavor;
u32 size;
{
rpc_authflavor_t flavor;
u32 size;
@@
-118,6
+118,8
@@
struct rpc_auth null_auth = {
.au_cslack = 4,
.au_rslack = 2,
.au_ops = &authnull_ops,
.au_cslack = 4,
.au_rslack = 2,
.au_ops = &authnull_ops,
+ .au_flavor = RPC_AUTH_NULL,
+ .au_count = ATOMIC_INIT(0),
};
static
};
static