summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorBenny Halevy <bhalevy@panasas.com>2010-09-24 15:17:01 +0200
committerTrond Myklebust <Trond.Myklebust@netapp.com>2010-09-24 15:17:01 +0200
commitdfb4f309830359352539919f23accc59a20a3758 (patch)
treec692dbb873e212bd919e6b98dac62478cb9ba968 /samples
parentnfs: show "local_lock" mount option in /proc/mounts (diff)
downloadlinux-dfb4f309830359352539919f23accc59a20a3758.tar.xz
linux-dfb4f309830359352539919f23accc59a20a3758.zip
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>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions