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.c
diff --git
a/net/sunrpc/auth.c
b/net/sunrpc/auth.c
index
a3ea895
..
f4b8344
100644
(file)
--- a/
net/sunrpc/auth.c
+++ b/
net/sunrpc/auth.c
@@
-13,7
+13,7
@@
#include <linux/errno.h>
#include <linux/sunrpc/clnt.h>
#include <linux/spinlock.h>
#include <linux/errno.h>
#include <linux/sunrpc/clnt.h>
#include <linux/spinlock.h>
-#include <linux/vs
erver/xid
.h>
+#include <linux/vs
_tag
.h>
#ifdef RPC_DEBUG
# define RPCDBG_FACILITY RPCDBG_AUTH
#ifdef RPC_DEBUG
# define RPCDBG_FACILITY RPCDBG_AUTH
@@
-264,7
+264,7
@@
rpcauth_lookupcred(struct rpc_auth *auth, int flags)
struct auth_cred acred = {
.uid = current->fsuid,
.gid = current->fsgid,
struct auth_cred acred = {
.uid = current->fsuid,
.gid = current->fsgid,
- .
xid = vx_current_xid
(),
+ .
tag = dx_current_tag
(),
.group_info = current->group_info,
};
struct rpc_cred *ret;
.group_info = current->group_info,
};
struct rpc_cred *ret;
@@
-284,7
+284,7
@@
rpcauth_bindcred(struct rpc_task *task)
struct auth_cred acred = {
.uid = current->fsuid,
.gid = current->fsgid,
struct auth_cred acred = {
.uid = current->fsuid,
.gid = current->fsgid,
- .
xid = vx_current_xid
(),
+ .
tag = dx_current_tag
(),
.group_info = current->group_info,
};
struct rpc_cred *ret;
.group_info = current->group_info,
};
struct rpc_cred *ret;
@@
-334,8
+334,8
@@
rpcauth_unbindcred(struct rpc_task *task)
task->tk_msg.rpc_cred = NULL;
}
task->tk_msg.rpc_cred = NULL;
}
-
u
32 *
-rpcauth_marshcred(struct rpc_task *task,
u
32 *p)
+
__be
32 *
+rpcauth_marshcred(struct rpc_task *task,
__be
32 *p)
{
struct rpc_cred *cred = task->tk_msg.rpc_cred;
{
struct rpc_cred *cred = task->tk_msg.rpc_cred;
@@
-345,8
+345,8
@@
rpcauth_marshcred(struct rpc_task *task, u32 *p)
return cred->cr_ops->crmarshal(task, p);
}
return cred->cr_ops->crmarshal(task, p);
}
-
u
32 *
-rpcauth_checkverf(struct rpc_task *task,
u
32 *p)
+
__be
32 *
+rpcauth_checkverf(struct rpc_task *task,
__be
32 *p)
{
struct rpc_cred *cred = task->tk_msg.rpc_cred;
{
struct rpc_cred *cred = task->tk_msg.rpc_cred;
@@
-358,7
+358,7
@@
rpcauth_checkverf(struct rpc_task *task, u32 *p)
int
rpcauth_wrap_req(struct rpc_task *task, kxdrproc_t encode, void *rqstp,
int
rpcauth_wrap_req(struct rpc_task *task, kxdrproc_t encode, void *rqstp,
-
u
32 *data, void *obj)
+
__be
32 *data, void *obj)
{
struct rpc_cred *cred = task->tk_msg.rpc_cred;
{
struct rpc_cred *cred = task->tk_msg.rpc_cred;
@@
-372,7
+372,7
@@
rpcauth_wrap_req(struct rpc_task *task, kxdrproc_t encode, void *rqstp,
int
rpcauth_unwrap_resp(struct rpc_task *task, kxdrproc_t decode, void *rqstp,
int
rpcauth_unwrap_resp(struct rpc_task *task, kxdrproc_t decode, void *rqstp,
-
u
32 *data, void *obj)
+
__be
32 *data, void *obj)
{
struct rpc_cred *cred = task->tk_msg.rpc_cred;
{
struct rpc_cred *cred = task->tk_msg.rpc_cred;