diff options
author | Dexuan Cui <decui@microsoft.com> | 2014-09-26 04:52:04 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-07 18:13:29 (GMT) |
commit | 4f689190bb55d171d2f6614f8a6cbd4b868e48bd (patch) | |
tree | 4fffdcfc577469993619857c9dee4fa753d14589 /lib | |
parent | e0f1147cc9512d3610d2f2a0f069690661444703 (diff) | |
download | linux-4f689190bb55d171d2f6614f8a6cbd4b868e48bd.tar.xz |
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 'lib')
0 files changed, 0 insertions, 0 deletions