Blame SOURCES/hypervvssd-0-ignore-VFAT-mounts.patch

5f68da
From f33b215549938f89aebf862b942366d2aa41c191 Mon Sep 17 00:00:00 2001
5f68da
From: K. Y. Srinivasan <kys@microsoft.com>
5f68da
Date: Wed, 12 Feb 2014 16:40:22 +0000
5f68da
Subject: Tools: hv: vssdaemon: Ignore VFAT mounts during the Freeze operation
5f68da
5f68da
If the guest has a FAT file system mounted, skip it during the FREEZE
5f68da
operation. With this change we can support host initiated backup of
5f68da
the guest even when the guest may have FAT file systems mounted.
5f68da
5f68da
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
5f68da
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
5f68da
---
5f68da
(limited to 'tools/hv/hv_vss_daemon.c')
5f68da
5f68da
diff --git a/tools/hv/hv_vss_daemon.c b/tools/hv/hv_vss_daemon.c
5f68da
index 520de3304..6a213b8 100644
5f68da
--- a/tools/hv/hv_vss_daemon.c
5f68da
+++ b/tools/hv/hv_vss_daemon.c
5f68da
@@ -87,6 +87,8 @@ static int vss_operate(int operation)
5f68da
 			continue;
5f68da
 		if (strcmp(ent->mnt_type, "iso9660") == 0)
5f68da
 			continue;
5f68da
+		if (strcmp(ent->mnt_type, "vfat") == 0)
5f68da
+			continue;
5f68da
 		if (strcmp(ent->mnt_dir, "/") == 0) {
5f68da
 			root_seen = 1;
5f68da
 			continue;
5f68da
--
5f68da
cgit v0.9.2