nfs: Initialize cb_sequenceres information before validate_seqid()
authorKinglong Mee <kinglongmee@gmail.com>
Tue, 2 Jun 2015 10:59:01 +0000 (18:59 +0800)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 12 Jun 2015 01:09:06 +0000 (21:09 -0400)
commit0579c8d2084adf932f09fe7edb5ee9328795d89f
treee9256b3aed887465d086393d620f5e150fc8847f
parente937ee714b2df638275a61a99e0d033682f764d2
nfs: Initialize cb_sequenceres information before validate_seqid()

For a cb_layoutrecall replay, nfsd got CB_SEQUENCE status of zero,
but all informations of cb_sequenceres are zero too !!!

validate_seqid() return NFS4ERR_RETRY_UNCACHED_REP for a replay,
and skip the initlize cb_sequenceres.

Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/callback_proc.c