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

[Cluster-devel] Cluster Project branch, master, updated. cluster-2.99.00-31-g1324777



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=1324777f47317068a50837a5c1deb50bab3179c8

The branch, master has been updated
       via  1324777f47317068a50837a5c1deb50bab3179c8 (commit)
      from  6326fb07433e0e8222c1a8946400d16b6a7b6337 (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 1324777f47317068a50837a5c1deb50bab3179c8
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]