]> www.infradead.org Git - users/hch/misc.git/commit
NFS: Further fixes to attribute delegation a/mtime changes
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 23 Oct 2024 21:05:48 +0000 (17:05 -0400)
committerAnna Schumaker <anna.schumaker@oracle.com>
Mon, 4 Nov 2024 15:24:19 +0000 (10:24 -0500)
commit40f45ab3814f2aff1ddada629c910aad982fc8e1
treee941e1870019797f0ba40b3b43d417d0e8a6e6eb
parentd054c5eb2890633935c23c371f45fb2d6b3b4b64
NFS: Further fixes to attribute delegation a/mtime changes

When asked to set both an atime and an mtime to the current system time,
ensure that the setting is atomic by calling inode_update_timestamps()
only once with the appropriate flags.

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>
fs/nfs/inode.c