NFSv4: Don't ask for the change attribute when reclaiming state
authorTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 10 Nov 2016 20:47:26 +0000 (15:47 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 1 Dec 2016 22:21:36 +0000 (17:21 -0500)
commit1cc1baf14b595bd44e83c2aca2fe487df7b6a1e3
treebf02f0d08829a5e1c24cc3c505425f6b32b6da9e
parent536585ccf95d34d64e2855f72608095854b8fc0e
NFSv4: Don't ask for the change attribute when reclaiming state

We don't need to ask for the change attribute when returning a delegation
or recovering from a server reboot, and it could actually cause us to
obtain an incorrect value if we're using a pNFS flavour that requires
LAYOUTCOMMIT.

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