summaryrefslogtreecommitdiff
path: root/tools/hv
diff options
context:
space:
mode:
authorK. Y. Srinivasan <kys@microsoft.com>2014-02-12 16:40:22 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-15 19:53:39 (GMT)
commitf33b215549938f89aebf862b942366d2aa41c191 (patch)
tree218fea1cba373225375371ea497248e3fde6b8cb /tools/hv
parent3eb2094c59e89db2bedd401e23c7a870081c9edb (diff)
downloadlinux-f33b215549938f89aebf862b942366d2aa41c191.tar.xz
Tools: hv: vssdaemon: Ignore VFAT mounts during the Freeze operation
If the guest has a FAT file system mounted, skip it during the FREEZE operation. With this change we can support host initiated backup of the guest even when the guest may have FAT file systems mounted. Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/hv')
-rw-r--r--tools/hv/hv_vss_daemon.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/hv/hv_vss_daemon.c b/tools/hv/hv_vss_daemon.c
index 520de3304..6a213b8 100644
--- a/tools/hv/hv_vss_daemon.c
+++ b/tools/hv/hv_vss_daemon.c
@@ -87,6 +87,8 @@ static int vss_operate(int operation)
continue;
if (strcmp(ent->mnt_type, "iso9660") == 0)
continue;
+ if (strcmp(ent->mnt_type, "vfat") == 0)
+ continue;
if (strcmp(ent->mnt_dir, "/") == 0) {
root_seen = 1;
continue;