diff options
author | J. Bruce Fields <bfields@redhat.com> | 2012-04-25 18:04:54 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2012-05-31 20:29:37 -0400 |
commit | d1829b38241394c0c66d407a165fbd6d9897c241 (patch) | |
tree | 151e5e02dcbff5d3354184107bcd42d7ea34da0a /fs/nfsd/nfs4xdr.c | |
parent | 57b7b43b403136dc18d067909050e8677f97aeed (diff) |
nfsd4: fix free_stateid return endianness
Cc: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfs4xdr.c')
-rw-r--r-- | fs/nfsd/nfs4xdr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c index f7cc41144dc1..f839be1a202c 100644 --- a/fs/nfsd/nfs4xdr.c +++ b/fs/nfsd/nfs4xdr.c | |||
@@ -3362,7 +3362,7 @@ nfsd4_encode_destroy_session(struct nfsd4_compoundres *resp, __be32 nfserr, | |||
3362 | } | 3362 | } |
3363 | 3363 | ||
3364 | static __be32 | 3364 | static __be32 |
3365 | nfsd4_encode_free_stateid(struct nfsd4_compoundres *resp, int nfserr, | 3365 | nfsd4_encode_free_stateid(struct nfsd4_compoundres *resp, __be32 nfserr, |
3366 | struct nfsd4_free_stateid *free_stateid) | 3366 | struct nfsd4_free_stateid *free_stateid) |
3367 | { | 3367 | { |
3368 | __be32 *p; | 3368 | __be32 *p; |
@@ -3371,7 +3371,7 @@ nfsd4_encode_free_stateid(struct nfsd4_compoundres *resp, int nfserr, | |||
3371 | return nfserr; | 3371 | return nfserr; |
3372 | 3372 | ||
3373 | RESERVE_SPACE(4); | 3373 | RESERVE_SPACE(4); |
3374 | WRITE32(nfserr); | 3374 | *p++ = nfserr; |
3375 | ADJUST_ARGS(); | 3375 | ADJUST_ARGS(); |
3376 | return nfserr; | 3376 | return nfserr; |
3377 | } | 3377 | } |