]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita4e8468a6f03831be44427e7ff16b7572818fe48
treedfd373c283c89514898cd1147969c4fffb2485a2
parentd7e073370656d7ab3d7d91bacdf62d0e686c302b
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