]> git.ipfire.org Git - thirdparty/qemu.git/commit
qga: ignore EBUSY when freezing a filesystem
authorPeter Lieven <pl@kamp.de>
Tue, 31 Jan 2017 15:36:34 +0000 (16:36 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Thu, 16 Mar 2017 17:10:41 +0000 (12:10 -0500)
commitd5506b31281ce3e89b76aa64ec9295db0691babc
treeccae0f5266657fbd7b821fc828fa730a0c2cd5f3
parent823fb688ebc52a7d79c1308acb28c92b56820167
qga: ignore EBUSY when freezing a filesystem

the current implementation fails if we try to freeze an
already frozen filesystem. This can happen if a filesystem
is mounted more than once (e.g. with a bind mount).

Suggested-by: Christian Theune <ct@flyingcircus.io>
Cc: qemu-stable@nongnu.org
Signed-off-by: Peter Lieven <pl@kamp.de>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
(cherry picked from commit ce2eb6c4a044d809caf4dc4e08aed77678f9760e)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
qga/commands-posix.c