Re: [PATCH] qemu_namespace: Move umount() call into #fdef __linux__

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/5/23 16:37, Michal Privoznik wrote:
> In a recent commit I've introduced an umount() call. But the
> function where the call lives is compiled on all OSes, not just
> Linux. But umount() is Linux specific. Other OSes have unmount
> (FreeBSD), or maybe something else. But since namespaces are
> Linux specific, we can wrap the call in #ifdef __linux__ and not
> care about other OSes.
> 
> Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
> ---
>  src/qemu/qemu_namespace.c | 2 ++
>  1 file changed, 2 insertions(+)
> 

I've pushed this under build breaker and trivial rules.

Michal




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux