From: Dexuan Cui Date: Fri, 26 Sep 2014 04:52:04 +0000 (-0700) Subject: Tools: hv: vssdaemon: ignore the EBUSY on multiple freezing the same partition X-Git-Tag: omap-for-v3.20/drop-legacy-3517~81^2~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f689190bb55d171d2f6614f8a6cbd4b868e48bd;p=pandora-kernel.git 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 Reviewed-by: K. Y. Srinivasan Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed