aboutsummaryrefslogtreecommitdiffstats
path: root/tools/hv/hv_fcopy_daemon.c
diff options
context:
space:
mode:
authorDexuan Cui <decui@microsoft.com>2014-09-25 21:52:04 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-07 10:13:29 -0800
commit4f689190bb55d171d2f6614f8a6cbd4b868e48bd (patch)
tree4fffdcfc577469993619857c9dee4fa753d14589 /tools/hv/hv_fcopy_daemon.c
parentuio: support memory sizes larger than 32 bits (diff)
downloadlinux-dev-4f689190bb55d171d2f6614f8a6cbd4b868e48bd.tar.xz
linux-dev-4f689190bb55d171d2f6614f8a6cbd4b868e48bd.zip
Tools: hv: vssdaemon: ignore the EBUSY on multiple freezing the same partition
If a partition appears mounted more than once in /proc/mounts, vss_do_freeze() succeeds only for the first time and gets EBUSY (on freeze) or EINVAL (on thaw) for the second time. The patch ignores these to make the backup feature work. Also improved the error handling in case a freeze operation fails. Signed-off-by: Dexuan Cui <decui@microsoft.com> Reviewed-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/hv/hv_fcopy_daemon.c')
0 files changed, 0 insertions, 0 deletions