nfsd4: check for uninitialized slot
authorJ. Bruce Fields <bfields@redhat.com>
Mon, 13 Feb 2012 21:56:19 +0000 (16:56 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 14 Feb 2012 22:01:58 +0000 (17:01 -0500)
commitbf5c43c8f155e755b0fc3dfa76f9f8c6e2c0161f
tree6c36ab623d4f5cb2ce9606ffa3f1dd53b3550848
parent73e79482b40fb6671915e3da0d178862a07ef254
nfsd4: check for uninitialized slot

This fixes an oops when a buggy client tries to use an initial seqid of
0 on a new slot, which we may misinterpret as a replay.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c
fs/nfsd/state.h