]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
NFS: Adjust delegated timestamps for O_DIRECT reads and writes
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 1 Feb 2025 19:59:03 +0000 (14:59 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Mar 2025 17:25:27 +0000 (18:25 +0100)
commitb6423ea93ab4fe67a3955b67591ad6c991e7220b
tree4c43e19c70c6780680622fb02011878ab1984e4e
parentb7b3d772e48aa76a6733f241c63e589799b09cdc
NFS: Adjust delegated timestamps for O_DIRECT reads and writes

[ Upstream commit 88025c67fe3c025a0123bc7af50535b97f7af89a ]

Adjust the timestamps if O_DIRECT is being combined with attribute
delegations.

Fixes: e12912d94137 ("NFSv4: Add support for delegated atime and mtime attributes")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/nfs/direct.c