diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-11-10 23:47:26 +0300 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-12-02 01:21:36 +0300 |
commit | 1cc1baf14b595bd44e83c2aca2fe487df7b6a1e3 (patch) | |
tree | bf02f0d08829a5e1c24cc3c505425f6b32b6da9e /fs | |
parent | 536585ccf95d34d64e2855f72608095854b8fc0e (diff) | |
download | linux-1cc1baf14b595bd44e83c2aca2fe487df7b6a1e3.tar.xz |
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>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/nfs/nfs4proc.c | 1 |
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, }; |