summaryrefslogtreecommitdiff
path: root/fs/nfsd/xdr4.h
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2011-08-31 19:47:21 (GMT)
committerJ. Bruce Fields <bfields@redhat.com>2011-08-31 21:56:01 (GMT)
commit73997dc4183c580278ea8cb41c7a9655940801e0 (patch)
treefc1c3acac955975d876035501be6b4d5d50090be /fs/nfsd/xdr4.h
parent81b829655d418316f0707b3656b45cff7a1dbf12 (diff)
downloadlinux-73997dc4183c580278ea8cb41c7a9655940801e0.tar.xz
nfsd4: make delegation stateid's seqid start at 1
Thanks to Casey for reminding me that 5661 gives a special meaning to a value of 0 in the stateid's seqid field, so all stateid's should start out with si_generation 1. We were doing that in the open and lock cases for minorversion 1, but not for the delegation stateid, and not for openstateid's with v4.0. It doesn't *really* matter much for v4.0 or for delegation stateid's (which never get the seqid field incremented), but we may as well do the same for all of them. Reported-by: Casey Bodley <cbodley@citi.umich.edu> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/xdr4.h')
0 files changed, 0 insertions, 0 deletions