summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2016-11-10 15:47:26 -0500
committerTrond Myklebust <trond.myklebust@primarydata.com>2016-12-01 17:21:36 -0500
commit1cc1baf14b595bd44e83c2aca2fe487df7b6a1e3 (patch)
treebf02f0d08829a5e1c24cc3c505425f6b32b6da9e
parent536585ccf95d34d64e2855f72608095854b8fc0e (diff)
downloadlinux-stable-1cc1baf14b595bd44e83c2aca2fe487df7b6a1e3.tar.gz
linux-stable-1cc1baf14b595bd44e83c2aca2fe487df7b6a1e3.tar.bz2
linux-stable-1cc1baf14b595bd44e83c2aca2fe487df7b6a1e3.zip
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>
-rw-r--r--fs/nfs/nfs4proc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index b582df89c083..c0628f78ed98 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -226,7 +226,6 @@ static const u32 nfs4_pnfs_open_bitmap[3] = {
static const u32 nfs4_open_noattr_bitmap[3] = {
FATTR4_WORD0_TYPE
- | FATTR4_WORD0_CHANGE
| FATTR4_WORD0_FILEID,
};