[glick2] Don't increase mount_count when not mounting on BUNDLE_PREFIX



commit dd38546028e7814eca1edeef6e191b5c6c1393e4
Author: Alexander Larsson <alexl redhat com>
Date:   Fri Oct 21 08:35:31 2011 +0200

    Don't increase mount_count when not mounting on BUNDLE_PREFIX

 helper.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/helper.c b/helper.c
index 74f1f90..fda42c6 100644
--- a/helper.c
+++ b/helper.c
@@ -158,7 +158,6 @@ main (int argc,
 	perror ("Failed to bind the extra source directory");
 	goto error_out;
       }
-      mount_count++; /* Extra mount succeeded */
     }
 
   __debug__(("mount source\n"));



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]