X-Git-Url: http://ftp.safe.ca/?p=safe%2Fjmp%2Flinux-2.6;a=blobdiff_plain;f=net%2Fsunrpc%2Fxprt.c;h=3fc325399ee4da4eaf77d19ace55717e34639798;hp=65fe2e4e7cbfcbed9aaf267af0927e1c68b79483;hb=f8965467f366fd18f01feafb5db10512d7b4422c;hpb=a26272e5200765691e67d6780e52b32498fdb659 diff --git a/net/sunrpc/xprt.c b/net/sunrpc/xprt.c index 65fe2e4..3fc3253 100644 --- a/net/sunrpc/xprt.c +++ b/net/sunrpc/xprt.c @@ -984,7 +984,7 @@ void xprt_reserve(struct rpc_task *task) static inline __be32 xprt_alloc_xid(struct rpc_xprt *xprt) { - return xprt->xid++; + return (__force __be32)xprt->xid++; } static inline void xprt_init_xid(struct rpc_xprt *xprt)