aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4xdr.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2013-08-21 15:48:42 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2013-08-22 08:58:14 -0400
commit17f26b1246425a5b77f05ac871889265357566a8 (patch)
tree65a2f3a4119dc2de2e5448e5a8a19fd0b2754a36 /fs/nfs/nfs4xdr.c
parentc281fa9c1f273542b45711e4737ace43c2066605 (diff)
NFSv4: Deal with some more sparse warnings
Technically, we don't really need to convert these time stamps, since they are actually cookies. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Cc: Chuck Lever <Chuck.Lever@oracle.com>
Diffstat (limited to 'fs/nfs/nfs4xdr.c')
-rw-r--r--fs/nfs/nfs4xdr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs4xdr.c b/fs/nfs/nfs4xdr.c
index 1a4a3bd415ed..133626318149 100644
--- a/fs/nfs/nfs4xdr.c
+++ b/fs/nfs/nfs4xdr.c
@@ -1816,7 +1816,7 @@ static void encode_create_session(struct xdr_stream *xdr,
1816 *p++ = cpu_to_be32(RPC_AUTH_UNIX); /* auth_sys */ 1816 *p++ = cpu_to_be32(RPC_AUTH_UNIX); /* auth_sys */
1817 1817
1818 /* authsys_parms rfc1831 */ 1818 /* authsys_parms rfc1831 */
1819 *p++ = (__be32)nn->boot_time.tv_nsec; /* stamp */ 1819 *p++ = cpu_to_be32(nn->boot_time.tv_nsec); /* stamp */
1820 p = xdr_encode_opaque(p, machine_name, len); 1820 p = xdr_encode_opaque(p, machine_name, len);
1821 *p++ = cpu_to_be32(0); /* UID */ 1821 *p++ = cpu_to_be32(0); /* UID */
1822 *p++ = cpu_to_be32(0); /* GID */ 1822 *p++ = cpu_to_be32(0); /* GID */