projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57b7b43
)
nfsd4: fix free_stateid return endianness
author
J. Bruce Fields
<bfields@redhat.com>
Wed, 25 Apr 2012 22:04:54 +0000
(18:04 -0400)
committer
J. Bruce Fields
<bfields@redhat.com>
Fri, 1 Jun 2012 00:29:37 +0000
(20:29 -0400)
Cc: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4xdr.c
patch
|
blob
|
history
diff --git
a/fs/nfsd/nfs4xdr.c
b/fs/nfsd/nfs4xdr.c
index
f7cc411
..
f839be1
100644
(file)
--- a/
fs/nfsd/nfs4xdr.c
+++ b/
fs/nfsd/nfs4xdr.c
@@
-3362,7
+3362,7
@@
nfsd4_encode_destroy_session(struct nfsd4_compoundres *resp, __be32 nfserr,
}
static __be32
-nfsd4_encode_free_stateid(struct nfsd4_compoundres *resp,
int
nfserr,
+nfsd4_encode_free_stateid(struct nfsd4_compoundres *resp,
__be32
nfserr,
struct nfsd4_free_stateid *free_stateid)
{
__be32 *p;
@@
-3371,7
+3371,7
@@
nfsd4_encode_free_stateid(struct nfsd4_compoundres *resp, int nfserr,
return nfserr;
RESERVE_SPACE(4);
-
WRITE32(nfserr)
;
+
*p++ = nfserr
;
ADJUST_ARGS();
return nfserr;
}