projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm
[powerpc.git]
/
net
/
sunrpc
/
auth_unix.c
diff --git
a/net/sunrpc/auth_unix.c
b/net/sunrpc/auth_unix.c
index
74c7406
..
f7f990c
100644
(file)
--- a/
net/sunrpc/auth_unix.c
+++ b/
net/sunrpc/auth_unix.c
@@
-137,12
+137,12
@@
unx_match(struct auth_cred *acred, struct rpc_cred *rcred, int flags)
* Marshal credentials.
* Maybe we should keep a cached credential for performance reasons.
*/
* Marshal credentials.
* Maybe we should keep a cached credential for performance reasons.
*/
-static
u
32 *
-unx_marshal(struct rpc_task *task,
u
32 *p)
+static
__be
32 *
+unx_marshal(struct rpc_task *task,
__be
32 *p)
{
struct rpc_clnt *clnt = task->tk_client;
struct unx_cred *cred = (struct unx_cred *) task->tk_msg.rpc_cred;
{
struct rpc_clnt *clnt = task->tk_client;
struct unx_cred *cred = (struct unx_cred *) task->tk_msg.rpc_cred;
-
u32
*base, *hold;
+
__be32
*base, *hold;
int i;
*p++ = htonl(RPC_AUTH_UNIX);
int i;
*p++ = htonl(RPC_AUTH_UNIX);
@@
-178,8
+178,8
@@
unx_refresh(struct rpc_task *task)
return 0;
}
return 0;
}
-static
u
32 *
-unx_validate(struct rpc_task *task,
u
32 *p)
+static
__be
32 *
+unx_validate(struct rpc_task *task,
__be
32 *p)
{
rpc_authflavor_t flavor;
u32 size;
{
rpc_authflavor_t flavor;
u32 size;