Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 30083
b: refs/heads/master
c: bf3fcf8
h: refs/heads/master
i:
  30081: 0db20a4
  30079: 57eca05
v: v3
  • Loading branch information
Chuck Lever authored and Trond Myklebust committed Jun 9, 2006
1 parent 94e92fb commit 4077d04
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b85d88068444ae5dcb1639bcef770ccbf085dd4e
refs/heads/master: bf3fcf89552f24657bcfb6a9d73cd167ebb496c6
4 changes: 2 additions & 2 deletions trunk/net/sunrpc/xprt.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
#include <linux/types.h>
#include <linux/interrupt.h>
#include <linux/workqueue.h>
#include <linux/random.h>
#include <linux/net.h>

#include <linux/sunrpc/clnt.h>
#include <linux/sunrpc/metrics.h>
Expand Down Expand Up @@ -830,7 +830,7 @@ static inline u32 xprt_alloc_xid(struct rpc_xprt *xprt)

static inline void xprt_init_xid(struct rpc_xprt *xprt)
{
get_random_bytes(&xprt->xid, sizeof(xprt->xid));
xprt->xid = net_random();
}

static void xprt_request_init(struct rpc_task *task, struct rpc_xprt *xprt)
Expand Down

0 comments on commit 4077d04

Please sign in to comment.