From: K. Y. Srinivasan Date: Wed, 12 Feb 2014 16:40:22 +0000 (-0800) Subject: Tools: hv: vssdaemon: Ignore VFAT mounts during the Freeze operation X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f33b215549938f89aebf862b942366d2aa41c191;p=linux-beck.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/tools/hv/hv_vss_daemon.c b/tools/hv/hv_vss_daemon.c index 520de3304571..6a213b8cd7b9 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;