cluster/gfs2/mount mount.gfs2.c
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: teigland at sourceware.org 2006-08-11 16:59:04
Modified files:
gfs2/mount : mount.gfs2.c
Log message:
report mount failure debug message earlier
gfs2/mount/mount.gfs2.c +2 -2
@@ -174,6 +174,7 @@ rv =mount (mo.dev, mo.dir, fsname, mo.flags, mo.extra_plus);if (rv) { +log_debug ("mount(2) failed error %d errno %d" , rv, errno);if (!(mo.flags &MS_REMOUNT ))umount_lockproto (proto, &mo, &sb, errno);
@@ -181,11 +182,10 @@die ("error %d mounting %s on %s\n" , errno, mo.dev, mo.dir); } +log_debug ("mount(2) ok" );block_signals (SIG_UNBLOCK ); -log_debug ("mount syscall returned %d" , rv); -if (!(mo.flags &MS_REMOUNT ))add_mtab_entry (&mo);