commit | dfb4f309830359352539919f23accc59a20a3758 | [log] [tgz] |
---|---|---|
author | Benny Halevy <bhalevy@panasas.com> | Fri Sep 24 09:17:01 2010 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Fri Sep 24 09:17:01 2010 -0400 |
tree | c692dbb873e212bd919e6b98dac62478cb9ba968 | |
parent | 7c563cc9f3f4aca70c27bd08a135499227f67014 [diff] |
NFSv4.1: keep seq_res.sr_slot as pointer rather than an index Having to explicitly initialize sr_slotid to NFS4_MAX_SLOT_TABLE resulted in numerous bugs. Keeping the current slot as a pointer to the slot table is more straight forward and robust as it's implicitly set up to NULL wherever the seq_res member is initialized to zeroes. Signed-off-by: Benny Halevy <bhalevy@panasas.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>