From: Olaf Hering Date: Wed, 24 Apr 2013 14:48:53 +0000 (-0700) Subject: tools: hv: skip iso9660 mounts in hv_vss_daemon X-Git-Tag: v3.10-rc1~194^2~1 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=10b637b4c8a21b299f691cecc4b6f16f44936c6d;p=~emulex%2Finfiniband.git tools: hv: skip iso9660 mounts in hv_vss_daemon fsreeze does not work for iso9660 filesystems. A ENOSUPP may be caught in the freeze case, but the subsequent thaw call would fail and leads to a false error. Signed-off-by: Olaf Hering 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 dc73a897d8c..712cfc516c6 100644 --- a/tools/hv/hv_vss_daemon.c +++ b/tools/hv/hv_vss_daemon.c @@ -88,6 +88,8 @@ static int vss_operate(int operation) while((ent = getmntent(mounts))) { if (strncmp(ent->mnt_fsname, match, strlen(match))) continue; + if (strcmp(ent->mnt_type, "iso9660") == 0) + continue; if (strcmp(ent->mnt_dir, "/") == 0) { root_seen = 1; continue;