mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
536585ccf9
commit
1cc1baf14b
|
@ -226,7 +226,6 @@ static const u32 nfs4_pnfs_open_bitmap[3] = {
|
||||||
|
|
||||||
static const u32 nfs4_open_noattr_bitmap[3] = {
|
static const u32 nfs4_open_noattr_bitmap[3] = {
|
||||||
FATTR4_WORD0_TYPE
|
FATTR4_WORD0_TYPE
|
||||||
| FATTR4_WORD0_CHANGE
|
|
||||||
| FATTR4_WORD0_FILEID,
|
| FATTR4_WORD0_FILEID,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue