From 958aba769688457d49d989160791fb7da0d35a25 Mon Sep 17 00:00:00 2001 From: Jeremie Koenig Date: Wed, 23 Jun 2010 10:29:35 +0200 Subject: Ignore the "defaults" mount option * utils/mount.c (do_mount): Ignore the "defaults" option. --- utils/mount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils') diff --git a/utils/mount.c b/utils/mount.c index 8e593aac..e9f64d85 100644 --- a/utils/mount.c +++ b/utils/mount.c @@ -248,7 +248,7 @@ do_mount (struct fs *fs, int remount) { ARGZ (add (&fsopts, &fsopts_len, o)); } - else + else if (strcmp (o, "defaults") != 0) { /* Prepend `--' to the option to make a long option switch, e.g. `--ro' or `--rsize=1024'. */ -- cgit v1.2.3