On Wed, Jun 04, 2025 at 03:28:04PM +0200, Hanna Czenczek wrote: > Move file-posix's helper to add a flag (or a set of flags) to an FD's > existing set of flags into osdep.c for other places to use. > > Suggested-by: Eric Blake <ebl...@redhat.com> > Signed-off-by: Hanna Czenczek <hre...@redhat.com> > --- > include/qemu/osdep.h | 1 + > block/file-posix.c | 17 +---------------- > util/osdep.c | 18 ++++++++++++++++++ > 3 files changed, 20 insertions(+), 16 deletions(-) >
Reviewed-by: Eric Blake <ebl...@redhat.com> -- Eric Blake, Principal Software Engineer Red Hat, Inc. Virtualization: qemu.org | libguestfs.org