[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <99c5a18f9c454e7aa16511cdf2767fd2@SN2PR03MB061.namprd03.prod.outlook.com>
Date: Tue, 26 Mar 2013 18:44:02 +0000
From: KY Srinivasan <kys@...rosoft.com>
To: Olaf Hering <olaf@...fle.de>,
"gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH 2/2] tools: hv: skip iso9660 mounts in hv_vss_daemon
> -----Original Message-----
> From: Olaf Hering [mailto:olaf@...fle.de]
> Sent: Tuesday, March 26, 2013 12:47 PM
> To: KY Srinivasan; gregkh@...uxfoundation.org
> Cc: linux-kernel@...r.kernel.org; Olaf Hering
> Subject: [PATCH 2/2] tools: hv: skip iso9660 mounts in hv_vss_daemon
>
> 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@...fle.de>
Olaf, thanks for fixing this.
Acked by: K. Y. Srinivasan <kys@...rosoft.com>
> ---
> 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;
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists