]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
nfsd: fix endianness breakage in TEST_STATEID handling
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 13 Apr 2012 04:10:34 +0000 (00:10 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 13 Apr 2012 14:12:01 +0000 (10:12 -0400)
commit02f5fde5df0ea930e70f93763dd48beff182b208
treead2f156f7f3ec5c9b4af2fb19135b40b82878a28
parent04da6e9d63427b2d0fd04766712200c250b3278f
nfsd: fix endianness breakage in TEST_STATEID handling

->ts_id_status gets nfs errno, i.e. it's already big-endian; no need
to apply htonl() to it.  Broken by commit 174568 (NFSD: Added TEST_STATEID
operation) last year...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/nfsd/nfs4xdr.c