OSDN Git Service

NFS: Don't set NFS_INO_DATA_INVAL_DEFER and NFS_INO_INVALID_DATA
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 28 Sep 2021 15:15:53 +0000 (11:15 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 4 Oct 2021 00:49:06 +0000 (20:49 -0400)
commit488796ec1e39fb9194cc8175f770823d40fbf0ed
treee368440dea786f6803966eb7633f1dbf136055a2
parenteea413308f2e6deb00f061f18081a53f3ecc8cc6
NFS: Don't set NFS_INO_DATA_INVAL_DEFER and NFS_INO_INVALID_DATA

NFS_INO_DATA_INVAL_DEFER and NFS_INO_INVALID_DATA should be considered
mutually exclusive.

Fixes: 1c341b777501 ("NFS: Add deferred cache invalidation for close-to-open consistency violations")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Tested-by: Benjamin Coddington <bcodding@redhat.com>
Reviewed-by: Benjamin Coddington <bcodding@redhat.com>
fs/nfs/inode.c