Skip to contentSkip to conversation

cluster/gfs2/mount util.c

Cluster-devel [email protected] 1 participant 1 message Sep 4, 2007

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL5
Changes by: teigland at sourceware.org 2007-09-04 19:28:12

Modified files:
gfs2/mount : util.c

Log message:
report that a mount fails due to an in-progress unmount

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/mount/util.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.18.2.7&r2=1.18.2.8

gfs2/mount/util.c +4 -0
@@ -497,6 +497,10 @@
 		warn("fs name too long");
 		goto out;
 
+	case -ESTALE:
+		warn("fs is being unmounted");
+		goto out;
+
 	case -EADDRINUSE:
 		warn("different fs appears to exist with the same name");
 		goto out;