All of lore.kernel.org
 help / color / mirror / Atom feed
* [Cluster-devel] [PATCH] add -l option support to umount
@ 2009-04-01  9:39 Kadlecsik Jozsef
  2009-04-01  9:53 ` Fabio M. Di Nitto
  0 siblings, 1 reply; 3+ messages in thread
From: Kadlecsik Jozsef @ 2009-04-01  9:39 UTC (permalink / raw)
  To: cluster-devel.redhat.com

Hi,

umount.gfs[2] does not support the '-l' flag, which is passed by recent(?) 
umount to the filesystem-specific umount program. The trivial patch below 
adds the flag so that umount.gfs[2] does not fail seeing the flag:

--- mount.orig/umount.gfs2.c	2009-01-22 13:33:51.000000000 +0100
+++ mount/umount.gfs2.c	2009-04-01 11:28:15.000000000 +0200
@@ -44,7 +44,7 @@
 	/* FIXME: check for "quiet" option and don't print in that case */
 
 	while (cont) {
-		optchar = getopt(argc, argv, "fhVvX:r");
+		optchar = getopt(argc, argv, "fhVvX:rl");
 
 		switch (optchar) {
 		case EOF:
@@ -74,6 +74,9 @@
 		case 'r':
 			break; /* used by umount to remount ro if umount fails */
 
+		case 'l':
+			break; /* lazy umount option used by umount */
+
 		default:
 			break;
 		}

Best regards,
Jozsef
--
E-mail : kadlec at mail.kfki.hu, kadlec at blackhole.kfki.hu
PGP key: http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address: KFKI Research Institute for Particle and Nuclear Physics
         H-1525 Budapest 114, POB. 49, Hungary



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Cluster-devel] [PATCH] add -l option support to umount
  2009-04-01  9:39 [Cluster-devel] [PATCH] add -l option support to umount Kadlecsik Jozsef
@ 2009-04-01  9:53 ` Fabio M. Di Nitto
  2009-04-01 10:18   ` Kadlecsik Jozsef
  0 siblings, 1 reply; 3+ messages in thread
From: Fabio M. Di Nitto @ 2009-04-01  9:53 UTC (permalink / raw)
  To: cluster-devel.redhat.com

Hi Kadlecsik,

thanks for the patch.

On Wed, 2009-04-01 at 11:39 +0200, Kadlecsik Jozsef wrote:
> Hi,
> 
> umount.gfs[2] does not support the '-l' flag, which is passed by recent(?) 
> umount to the filesystem-specific umount program. The trivial patch below 
> adds the flag so that umount.gfs[2] does not fail seeing the flag:

against what branch has this been tested?

Fabio



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Cluster-devel] [PATCH] add -l option support to umount
  2009-04-01  9:53 ` Fabio M. Di Nitto
@ 2009-04-01 10:18   ` Kadlecsik Jozsef
  0 siblings, 0 replies; 3+ messages in thread
From: Kadlecsik Jozsef @ 2009-04-01 10:18 UTC (permalink / raw)
  To: cluster-devel.redhat.com

On Wed, 1 Apr 2009, Fabio M. Di Nitto wrote:

> On Wed, 2009-04-01 at 11:39 +0200, Kadlecsik Jozsef wrote:
> > 
> > umount.gfs[2] does not support the '-l' flag, which is passed by recent(?) 
> > umount to the filesystem-specific umount program. The trivial patch below 
> > adds the flag so that umount.gfs[2] does not fail seeing the flag:
> 
> against what branch has this been tested?

The branch is cluster-2.03.11.

Best regards,
Jozsef
--
E-mail : kadlec at mail.kfki.hu, kadlec at blackhole.kfki.hu
PGP key: http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address: KFKI Research Institute for Particle and Nuclear Physics
         H-1525 Budapest 114, POB. 49, Hungary



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-04-01 10:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-01  9:39 [Cluster-devel] [PATCH] add -l option support to umount Kadlecsik Jozsef
2009-04-01  9:53 ` Fabio M. Di Nitto
2009-04-01 10:18   ` Kadlecsik Jozsef

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.