]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd4: fix off-by-one-error in SEQUENCE reply
authorJ. Bruce Fields <bfields@redhat.com>
Wed, 31 Aug 2011 19:39:30 +0000 (15:39 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 31 Aug 2011 21:55:57 +0000 (17:55 -0400)
commit198f34272f813bd3cd13141e3c48645478b7a992
tree6e8c3d0542d7b023a622e73695cc922dc6bd1b5d
parent308925f127401f34ed29eeb4152144d129e8b586
nfsd4: fix off-by-one-error in SEQUENCE reply

The values here represent highest slotid numbers.  Since slotid's are
numbered starting from zero, the highest should be one less than the
number of slots.

Reported-by: Rick Macklem <rmacklem@uoguelph.ca>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4xdr.c