diff options
author | Dexuan Cui <decui@microsoft.com> | 2014-09-25 21:52:04 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-07 10:13:29 -0800 |
commit | 4f689190bb55d171d2f6614f8a6cbd4b868e48bd (patch) | |
tree | 4fffdcfc577469993619857c9dee4fa753d14589 /tools/hv/hv_fcopy_daemon.c | |
parent | uio: support memory sizes larger than 32 bits (diff) | |
download | linux-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