diff mbox

[v2,2/2] mount.2: MS_BIND still ignores mountflags

Message ID b7d41a470056188c253e61095fe40e02cbf03040.1463597825.git.osandov@fb.com (mailing list archive)
State New, archived
Headers show

Commit Message

Omar Sandoval May 18, 2016, 6:57 p.m. UTC
From: Omar Sandoval <osandov@fb.com>

This is clear from the do_mount() function in the kernel as of v4.6.

Signed-off-by: Omar Sandoval <osandov@fb.com>
---
 man2/mount.2 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Michael Kerrisk (man-pages) May 21, 2016, 4:29 p.m. UTC | #1
On 05/18/2016 01:57 PM, Omar Sandoval wrote:
> From: Omar Sandoval <osandov@fb.com>
> 
> This is clear from the do_mount() function in the kernel as of v4.6.
> 

Hello Omar

I've applied this patch, and await your input on the other patch.

Cheers,

Michael


> Signed-off-by: Omar Sandoval <osandov@fb.com>
> ---
>  man2/mount.2 | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/man2/mount.2 b/man2/mount.2
> index 419e22da800f..bd4c35bd15ff 100644
> --- a/man2/mount.2
> +++ b/man2/mount.2
> @@ -98,10 +98,10 @@ The
>  and
>  .IR data
>  arguments are ignored.
> -Up until Linux 2.6.26,
> +The
>  .I mountflags
> -was also ignored
> -.\" with the exception of the "hidden" MS_REC mountflags bit
> +argument is also ignored, with the exception of
> +.B MS_REC
>  (the bind mount has the same mount options as
>  the underlying mount point).
>  .TP
>
diff mbox

Patch

diff --git a/man2/mount.2 b/man2/mount.2
index 419e22da800f..bd4c35bd15ff 100644
--- a/man2/mount.2
+++ b/man2/mount.2
@@ -98,10 +98,10 @@  The
 and
 .IR data
 arguments are ignored.
-Up until Linux 2.6.26,
+The
 .I mountflags
-was also ignored
-.\" with the exception of the "hidden" MS_REC mountflags bit
+argument is also ignored, with the exception of
+.B MS_REC
 (the bind mount has the same mount options as
 the underlying mount point).
 .TP