From: Olaf Hering <olaf@aepfle.de>
To: kys@microsoft.com, gregkh@linuxfoundation.org
Cc: linux-kernel@vger.kernel.org, Olaf Hering <olaf@aepfle.de>
Subject: [PATCH 2/2] tools: hv: skip iso9660 mounts in hv_vss_daemon
Date: Tue, 26 Mar 2013 17:47:10 +0100 [thread overview]
Message-ID: <1364316430-29655-2-git-send-email-olaf@aepfle.de> (raw)
In-Reply-To: <1364316430-29655-1-git-send-email-olaf@aepfle.de>
freeze does not work for iso9660 filesystems. A ENOSUPP may be catched
in the freeze case, but the subsequent thaw call would fail and leads to
a false error.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
---
tools/hv/hv_vss_daemon.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/hv/hv_vss_daemon.c b/tools/hv/hv_vss_daemon.c
index 830d606..f06cd8c 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;
next prev parent reply other threads:[~2013-03-26 16:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-26 16:47 [PATCH 1/2] tools: hv: use FIFREEZE/FITHAW in hv_vss_daemon Olaf Hering
2013-03-26 16:47 ` Olaf Hering [this message]
2013-03-26 18:44 ` [PATCH 2/2] tools: hv: skip iso9660 mounts " KY Srinivasan
2013-03-26 18:43 ` [PATCH 1/2] tools: hv: use FIFREEZE/FITHAW " KY Srinivasan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1364316430-29655-2-git-send-email-olaf@aepfle.de \
--to=olaf@aepfle.de \
--cc=gregkh@linuxfoundation.org \
--cc=kys@microsoft.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox