瀏覽代碼

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>
K. Y. Srinivasan 11 年之前
父節點
當前提交
f33b215549
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      tools/hv/hv_vss_daemon.c

+ 2 - 0
tools/hv/hv_vss_daemon.c

@@ -87,6 +87,8 @@ static int vss_operate(int operation)
 			continue;
 			continue;
 		if (strcmp(ent->mnt_type, "iso9660") == 0)
 		if (strcmp(ent->mnt_type, "iso9660") == 0)
 			continue;
 			continue;
+		if (strcmp(ent->mnt_type, "vfat") == 0)
+			continue;
 		if (strcmp(ent->mnt_dir, "/") == 0) {
 		if (strcmp(ent->mnt_dir, "/") == 0) {
 			root_seen = 1;
 			root_seen = 1;
 			continue;
 			continue;