]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
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)
committerAndrea Righi <andrea.righi@canonical.com>
Tue, 4 Jan 2022 08:48:33 +0000 (09:48 +0100)
commitfbd69703066f499ed1ce07bb6b4c8d0a620a41ea
tree957804aa494360f7d4a40ce2e9b73eb9174ee7ca
parent17e7755833aa2aacdde38ae44ce556b13699cf7d
NFS: Don't set NFS_INO_DATA_INVAL_DEFER and NFS_INO_INVALID_DATA

BugLink: https://bugs.launchpad.net/bugs/1951822
[ Upstream commit 488796ec1e39fb9194cc8175f770823d40fbf0ed ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
fs/nfs/inode.c