From: lhh@sourceware.org <lhh@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] cluster/rgmanager/src/resources clusterfs.sh fs.sh
Date: 5 Oct 2006 21:57:17 -0000 [thread overview]
Message-ID: <20061005215717.4816.qmail@sourceware.org> (raw)
CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL4
Changes by: lhh at sourceware.org 2006-10-05 21:57:17
Modified files:
rgmanager/src/resources: clusterfs.sh fs.sh
Log message:
Fix 208656, pass 1
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/resources/clusterfs.sh.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.1.2.9&r2=1.1.2.10
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/resources/fs.sh.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.4.2.15&r2=1.4.2.16
--- cluster/rgmanager/src/resources/clusterfs.sh 2006/06/16 19:57:52 1.1.2.9
+++ cluster/rgmanager/src/resources/clusterfs.sh 2006/10/05 21:57:17 1.1.2.10
@@ -802,6 +802,7 @@
[ "$OCF_RESKEY_nfslock" = "1" ]; then
ocf_log warning "Dropping node-wide NFS locks"
mkdir -p $mp/.clumanager/statd
+ pkill -KILL -x lockd
# Copy out the notify list; our
# IPs are already torn down
if notify_list_store $mp/.clumanager/statd; then
--- cluster/rgmanager/src/resources/fs.sh 2006/08/11 15:02:29 1.4.2.15
+++ cluster/rgmanager/src/resources/fs.sh 2006/10/05 21:57:17 1.4.2.16
@@ -857,14 +857,14 @@
mp=${OCF_RESKEY_mountpoint}
case "$mp" in
""|"[ ]*") # nothing to mount
- return $SUCCESS
+ return $OCF_SUCCESS
;;
/*) # found it
;;
*) # invalid format
ocf_log err \
"startFilesystem: Invalid mount point format (must begin with a '/'): \'$mp\'"
- return $FAIL
+ return $OCF_ERR_ARGS
;;
esac
@@ -875,7 +875,7 @@
if [ -z "$dev" ]; then
ocf_log err "\
startFilesystem: Could not match $OCF_RESKEY_device with a real device"
- return $FAIL
+ return $OCF_ERR_ARGS
fi
#
@@ -885,7 +885,7 @@
if ! [ -d "$mp" ]; then
ocf_log err"\
startFilesystem: Mount point $mp exists but is not a directory"
- return $FAIL
+ return $OCF_ERR_ARGS
fi
else
ocf_log err "\
@@ -914,7 +914,7 @@
case $? in
$YES) # already mounted
ocf_log debug "$dev already mounted"
- return $SUCCESS
+ return $OCF_SUCCESS
;;
$NO) # not mounted, continue
;;
reply other threads:[~2006-10-05 21:57 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061005215717.4816.qmail@sourceware.org \
--to=lhh@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).