nfsd4: simplify stateid generation code, fix wraparound
authorJ. Bruce Fields <bfields@redhat.com>
Tue, 23 Aug 2011 15:03:29 +0000 (11:03 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 31 Aug 2011 21:56:00 +0000 (17:56 -0400)
commit81b829655d418316f0707b3656b45cff7a1dbf12
treedfd373c283c89514898cd1147969c4fffb2485a2
parentb79abaddfe7ef29e00d71721cf03a33e00d53317
nfsd4: simplify stateid generation code, fix wraparound

Follow the recommendation from rfc3530bis for stateid generation number
wraparound, simplify some code, and fix or remove incorrect comments.

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