[PATCH v2 0/1] vfs: Respect MS_RDONLY at bind mount creation

From: Richard Yao
Date: Fri Aug 01 2014 - 14:13:21 EST


The first version of this patch had a few issues:

1. It marked mount points readonly after graft_tree().
2. The commit message did not read very well.
3. It failed to make it to the LKML archives.
4. One person absent from the CC list asked to be included after I sent it.

Issue #1 merits a v2, so I am sending it again with some minor corrections. I
had considered splitting the mnt_make_readonly() loop into its own helper
function for readability, but that turned out to make the code less readable.

Richard Yao (1):
vfs: Respect MS_RDONLY at bind mount creation

fs/namespace.c | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)

--
1.8.5.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/