This is a note to let you know that I've just added the patch titled

    Tools: hv: vssdaemon: skip all filesystems mounted readonly

to my char-misc git tree which can be found at
    git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git
in the char-misc-testing branch.

The patch will show up in the next release of the linux-next tree (usually
sometime within the next 24 hours during the week.)

The patch will be merged to the char-misc-next branch sometime soon, after it
pasts testing, and the merge window is open.

If you have any questions about this process, please let me know.


>From 9e5db05aae4657c7ade34ccc4b93f27ab647498e Mon Sep 17 00:00:00 2001
From: Vitaly Kuznetsov <vkuzn...@redhat.com>
Date: Mon, 10 Nov 2014 17:37:02 +0100
Subject: Tools: hv: vssdaemon: skip all filesystems mounted readonly

Instead of making a list of exceptions for readonly filesystems in addition to
iso9660 we already have it is better to skip freeze operation for all
readonly-mounted filesystems.

Signed-off-by: Vitaly Kuznetsov <vkuzn...@redhat.com>
Signed-off-by: K. Y. Srinivasan <k...@microsoft.com>
Acked-by: Dexuan Cui <de...@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org>
---
 tools/hv/hv_vss_daemon.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/hv/hv_vss_daemon.c b/tools/hv/hv_vss_daemon.c index
ee44f0d730ef..5e63f70bd956 100644
--- a/tools/hv/hv_vss_daemon.c
+++ b/tools/hv/hv_vss_daemon.c
@@ -102,7 +102,7 @@ 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)
+        if (hasmntopt(ent, MNTOPT_RO) != NULL)
             continue;
         if (strcmp(ent->mnt_type, "vfat") == 0)
             continue;
--
2.1.3

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1400628

Title:
  Failed online backup(hypervvssd) when the guest mount udf/squashfs
  type

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  RHEL7.0 reports below issue and this should be a common issue. 
  https://bugzilla.redhat.com/show_bug.cgi?id=1160584 

  And 2 patches are accepted by community. Could you please include those 
patches in
  OL7? Thank you.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1400628/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to