]> git.ipfire.org Git - thirdparty/libvirt.git/commit
meson: remove obsolete check for LO_FLAGS_AUTOCLEAR
authorDaniel P. Berrangé <berrange@redhat.com>
Thu, 8 Dec 2022 09:12:25 +0000 (09:12 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Mon, 12 Dec 2022 10:35:26 +0000 (10:35 +0000)
commit84eb50dbd06fa01584389f00280698b00087a2ab
tree3d6d0d2f8499708819c5750b32ba6533853894d7
parent9edbdb97810d52c39892b28be824bcf72e74cae7
meson: remove obsolete check for LO_FLAGS_AUTOCLEAR

The LO_FLAGS_AUTOCLEAR constant was introduced to Linux in

  commit 96c5865559cee0f9cbc5173f3c949f6ce3525581
  Author: David Woodhouse <dwmw2@infradead.org>
  Date:   Wed Feb 6 01:36:27 2008 -0800

    Allow auto-destruction of loop devices

This is old enough that all our supported platforms can be assumed
to have this feature. For added fun this whole meson check was
semantically insane because EPOLL_CLOEXEC is not a valid arg
to unshare().

Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
meson.build
src/util/virfile.c