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

[Cluster-devel] Cluster Project branch, RHEL5, updated. cmirror_1_1_15-66-gce7240a



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=ce7240aa680a09727c804815f0ed583af74c68f3

The branch, RHEL5 has been updated
       via  ce7240aa680a09727c804815f0ed583af74c68f3 (commit)
      from  fd57f9e4023cbeadecba15e7093213e507661de9 (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 ce7240aa680a09727c804815f0ed583af74c68f3
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 791d3b0..40f327f 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 7808709..4f7ab2e 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"
 		dev=$1
 	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 81ce778..03f5a48 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]