]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd4: construct stateid from clientid and counter
authorJ. Bruce Fields <bfields@redhat.com>
Thu, 15 Sep 2011 19:02:41 +0000 (15:02 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 19 Sep 2011 10:33:57 +0000 (06:33 -0400)
commitabd32b39a39f0a4d34b8b6fc304861805d4adce6
tree9ade49e59a3771f2a4dedf50baf0f44d55b11b46
parentf4e2da861c617cdb4876285f829df846d61ab71f
nfsd4: construct stateid from clientid and counter

Including the full clientid in the on-the-wire stateid allows more
reliable detection of bad vs. expired stateid's, simplifies code, and
ensures we won't reuse the opaque part of the stateid (as we currently
do when the same openowner closes and reopens the same file).

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