[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [PATCH RESEND] mount: wrong long mount options fix
From:       Denys Vlasenko <vda.linux () googlemail ! com>
Date:       2011-02-26 17:51:27
Message-ID: 201102261851.27119.vda.linux () googlemail ! com
[Download RAW message or body]

On Friday 25 February 2011 12:50, Roman Borisov wrote:
> Fixed the --make-shared, --make-rshared, ... etc. (--make-*) options
> in the mount command. Now parse_mount_options() may reasonably process such
> options.
> Fixed: http://lists.busybox.net/pipermail/busybox/2011-January/074511.html
> 
> Signed-off-by: Roman Borisov <ext-roman.borisov@nokia.com>
> ---
>  util-linux/mount.c |   16 ++++++++--------
>  1 files changed, 8 insertions(+), 8 deletions(-)
> 
> diff --git a/util-linux/mount.c b/util-linux/mount.c
> index 0f213bb..bc52850 100644
> --- a/util-linux/mount.c
> +++ b/util-linux/mount.c
> @@ -241,14 +241,14 @@ static const char mount_option_str[] =
>  		"union\0"
>  		"bind\0"
>  		"move\0"
> -		"shared\0"
> -		"slave\0"
> -		"private\0"
> -		"unbindable\0"
> -		"rshared\0"
> -		"rslave\0"
> -		"rprivate\0"
> -		"runbindable\0"
> +		"make-shared\0"
> +		"make-slave\0"
> +		"make-private\0"
> +		"make-unbindable\0"
> +		"make-rshared\0"
> +		"make-rslave\0"
> +		"make-rprivate\0"
> +		"make-runbindable\0"
>  	)
>  
>  	// Always understood.

Applied, thanks!
-- 
vda
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic