OSDN Git Service

nfsd4: stid display should preserve on-the-wire byte order
authorJ. Bruce Fields <bfields@redhat.com>
Tue, 14 Apr 2020 02:03:06 +0000 (22:03 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 6 May 2020 19:59:23 +0000 (15:59 -0400)
commitee590d259784806c32ad0523aa6a9c321dbf96a4
tree16988a777fd961bf7216d17b70559fc66da466f1
parentace7ade4f56cab0ea19d3665d7c14d713788c13d
nfsd4: stid display should preserve on-the-wire byte order

When we decode the stateid we byte-swap si_generation.

But for simplicity's sake and ease of comparison with network traces,
it's better to display the whole thing in network order.

Reported-by: Scott Mayhew <smayhew@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c