From: rpeterso@sourceware.org <rpeterso@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] cluster/gfs2/mount umount.gfs2.c
Date: 1 Dec 2006 22:51:19 -0000 [thread overview]
Message-ID: <20061201225119.25610.qmail@sourceware.org> (raw)
CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL50
Changes by: rpeterso at sourceware.org 2006-12-01 22:51:18
Modified files:
gfs2/mount : umount.gfs2.c
Log message:
Resolves: bz218134: GFS & GFS2: umount while busy gives bogus error
message.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/mount/umount.gfs2.c.diff?cvsroot=cluster&only_with_tag=RHEL50&r1=1.12&r2=1.12.4.1
--- cluster/gfs2/mount/umount.gfs2.c 2006/07/28 13:58:10 1.12
+++ cluster/gfs2/mount/umount.gfs2.c 2006/12/01 22:51:18 1.12.4.1
@@ -130,9 +130,12 @@
parse_opts(&mo);
rv = umount(mo.dir);
- if (rv)
- die("error %d unmounting %s\n", errno, mo.dir);
-
+ if (rv) {
+ if (errno == EBUSY)
+ die("%s: device is busy.\n", mo.dir);
+ else
+ die("error %d unmounting %s\n", errno, mo.dir);
+ }
proto = select_lockproto(&mo, &sb);
umount_lockproto(proto, &mo, &sb);
next reply other threads:[~2006-12-01 22:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-01 22:51 rpeterso [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-01-21 14:37 [Cluster-devel] cluster/gfs2/mount umount.gfs2.c fabbione
2006-12-01 22:50 rpeterso
2006-12-01 22:50 rpeterso
2006-06-22 20:58 teigland
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=20061201225119.25610.qmail@sourceware.org \
--to=rpeterso@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).