NFSv4: Deal with atomic upgrades of an existing delegation
authorTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 19 Dec 2014 16:22:28 +0000 (11:22 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Sat, 24 Jan 2015 23:46:51 +0000 (18:46 -0500)
Ensure that we deal correctly with the case where the server sends us a
newer instance of the same delegation. If the stateids match, but the
sequence numbers differ, then treat the new delegation as if it were
an atomic upgrade.

Signed-off-by: Trond Myklebust <Trond.Myklebust@primarydata.com>
fs/nfs/delegation.c

Simple merge