NFS: Return the file btime in the statx results when appropriate
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 29 May 2025 10:45:47 +0000 (06:45 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 14 Jul 2025 22:20:02 +0000 (15:20 -0700)
commit4b5427414749233fb2315a89c9fa64328cf5ec03
tree44b19983e467111dcbe8994ad5292c4b116b07b2
parent1c7ae2dd3f0e6d07ec0a5a348f2561f2171b9c81
NFS: Return the file btime in the statx results when appropriate

If the server supports the NFSv4.x "create_time" attribute, then return
it as part of the statx results.

Signed-off-by: Benjamin Coddington <bcodding@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Link: https://lore.kernel.org/r/eae27d6467e08aaa67e0ac6ae7119263a0f83349.1748515333.git.bcodding@redhat.com
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/inode.c
fs/nfs/nfs4trace.h