cluster/gfs2/mount umount.gfs2.c
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: fabbione at sourceware.org 2008-01-21 14:37:56
Modified files:
gfs2/mount : umount.gfs2.c
Log message:
Add fake support for -r option at umount so we don't fail if gfs2 is not umounted by it's init script.
gfs2/mount/umount.gfs2.c +4 -1
@@ -52,7 +52,7 @@/* FIXME: check for "quiet" option and don't print in that case */ while (cont) { - optchar =getopt (argc, argv,"fhVvX:" ); + optchar =getopt (argc, argv,"fhVvX:r" );switch (optchar) {case EOF :
@@ -79,6 +79,9 @@print_version ();exit (EXIT_SUCCESS ); +case 'r' : +break ;/* used by umount to remount ro if umount fails */ +default :break ; }