summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2012-02-15 05:33:19 +0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-02-18 02:33:39 +0400
commitf86f36a6ae625eda87a13e1ea102a908e08f491b (patch)
tree4facbd3378390f4a571bbc169e197a3373f39159 /arch
parentb9f9a03150969e4bd9967c20bce67c4de769058f (diff)
downloadlinux-f86f36a6ae625eda87a13e1ea102a908e08f491b.tar.xz
NFSv4.1: Fix a NFSv4.1 session initialisation regression
Commit aacd553 (NFSv4.1: cleanup init and reset of session slot tables) introduces a regression in the session initialisation code. New tables now find their sequence ids initialised to 0, rather than the mandated value of 1 (see RFC5661). Fix the problem by merging nfs4_reset_slot_table() and nfs4_init_slot_table(). Since the tbl->max_slots is initialised to 0, the test in nfs4_reset_slot_table for max_reqs != tbl->max_slots will automatically pass for an empty table. Reported-by: Vitaliy Gusev <gusev.vitaliy@nexenta.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions