diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-08-21 21:48:42 +0200 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-08-22 14:58:14 +0200 |
commit | 17f26b1246425a5b77f05ac871889265357566a8 (patch) | |
tree | 65a2f3a4119dc2de2e5448e5a8a19fd0b2754a36 /fs/nfs/nfs4xdr.c | |
parent | NFSv4: Deal with a sparse warning in nfs4_opendata_alloc (diff) | |
download | linux-17f26b1246425a5b77f05ac871889265357566a8.tar.xz linux-17f26b1246425a5b77f05ac871889265357566a8.zip |
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 '')
-rw-r--r-- | fs/nfs/nfs4xdr.c | 2 |
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, *p++ = cpu_to_be32(RPC_AUTH_UNIX); /* auth_sys */ /* authsys_parms rfc1831 */ - *p++ = (__be32)nn->boot_time.tv_nsec; /* stamp */ + *p++ = cpu_to_be32(nn->boot_time.tv_nsec); /* stamp */ p = xdr_encode_opaque(p, machine_name, len); *p++ = cpu_to_be32(0); /* UID */ *p++ = cpu_to_be32(0); /* GID */ |