]> git.ipfire.org Git - thirdparty/qemu.git/commit
9pfs: Introduce futimens file op
authorGreg Kurz <groug@kaod.org>
Wed, 12 Mar 2025 15:29:30 +0000 (16:29 +0100)
committerChristian Schoenebeck <qemu_oss@crudebyte.com>
Mon, 5 May 2025 09:28:29 +0000 (11:28 +0200)
commit371a269ff8ce561c28e4fa03bb49e4940f990637
tree42713e4b60379d25f0006ed08760d7926deb6023
parent0c798dd52355f3489b29bba0dfd7df0e24cfa1dd
9pfs: Introduce futimens file op

Add an futimens operation to the fs driver and use if when a fid has
a valid file descriptor. This is required to support more cases where
the client wants to do an action on an unlinked file which it still
has an open file decriptor for.

Only 9P2000.L was considered.

Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Message-Id: <20250312152933.383967-5-groug@kaod.org>
Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
fsdev/file-op-9p.h
hw/9pfs/9p-local.c
hw/9pfs/9p-synth.c
hw/9pfs/9p-util.h
hw/9pfs/9p.c
hw/9pfs/cofs.c
hw/9pfs/coth.h