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

[Cluster-devel] Cluster Project branch, STABLE2, updated. cluster-2.03.02-5-gd1bae35



This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Cluster Project".

http://sources.redhat.com/git/gitweb.cgi?p=cluster.git;a=commitdiff;h=d1bae359b39fd5bbcc549c1ceba045f769532350

The branch, STABLE2 has been updated
       via  d1bae359b39fd5bbcc549c1ceba045f769532350 (commit)
      from  557412e9fbe9e69cf371e16514f415389e7e5231 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d1bae359b39fd5bbcc549c1ceba045f769532350
Author: Lon Hohberger <lhh redhat com>
Date:   Thu May 8 17:08:32 2008 -0400

    [rgmanager] Fix #441582 - symlinks in mount points causing failures

-----------------------------------------------------------------------

Summary of changes:
 rgmanager/src/resources/clusterfs.sh |    2 +-
 rgmanager/src/resources/fs.sh        |    2 +-
 rgmanager/src/resources/netfs.sh     |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/rgmanager/src/resources/clusterfs.sh b/rgmanager/src/resources/clusterfs.sh
index 23c7b70..e1b518d 100755
--- a/rgmanager/src/resources/clusterfs.sh
+++ b/rgmanager/src/resources/clusterfs.sh
@@ -413,7 +413,7 @@ isMounted () {
 		ocf_log err "isMounted: Could not match $1 with a real device"
 		return $FAIL
 	fi
-	mp=$2
+	mp=$(readlink -f $2)
 	
 	while read tmp_dev tmp_mp
 	do
diff --git a/rgmanager/src/resources/fs.sh b/rgmanager/src/resources/fs.sh
index 1de57d3..f60e62d 100755
--- a/rgmanager/src/resources/fs.sh
+++ b/rgmanager/src/resources/fs.sh
@@ -529,7 +529,7 @@ isMounted () {
 			"fs (isMounted): Could not match $1 with a real device"
 		return $OCF_ERR_ARGS
 	fi
-	mp=$2
+	mp=$(readlink -f $2)
 	
 	while read tmp_dev tmp_mp
 	do
diff --git a/rgmanager/src/resources/netfs.sh b/rgmanager/src/resources/netfs.sh
index 09d0aad..65c2c5d 100755
--- a/rgmanager/src/resources/netfs.sh
+++ b/rgmanager/src/resources/netfs.sh
@@ -335,7 +335,7 @@ isMounted () {
 	fi
 
 	fullpath=$1
-	mp=$2
+	mp=$(readlink -f $2)
 
 	while read tmp_fullpath tmp_mp
 	do


hooks/post-receive
--
Cluster Project


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