]> git.karo-electronics.de Git - karo-tx-linux.git/commit
nfsd4: fix sessions slotid wraparound logic
authorJ. Bruce Fields <bfields@redhat.com>
Mon, 13 Feb 2012 21:13:41 +0000 (16:13 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 13 Feb 2012 21:15:18 +0000 (16:15 -0500)
commitf6d82485e9a947ae19bb29e72644f4c6f27d5b89
tree9bb1482584904710aab722b6c9b2b5e5b49780eb
parent508f92275624fc755104b17945bdc822936f1918
nfsd4: fix sessions slotid wraparound logic

From RFC 5661 2.10.6.1: "If the previous sequence ID was 0xFFFFFFFF,
then the next request for the slot MUST have the sequence ID set to
zero."

While we're there, delete some redundant comments.

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