diff options
| author | Dave Hansen <[email protected]> | 2008-02-15 14:38:00 -0800 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2008-04-19 00:29:27 -0400 |
| commit | 2e4b7fcd926006531935a4c79a5e9349fe51125b (patch) | |
| tree | 84ba12469c4da54585e9591569e9c35fe39b635e /tools/perf/scripts/python | |
| parent | 3d733633a633065729c9e4e254b2e5442c00ef7e (diff) | |
[PATCH] r/o bind mounts: honor mount writer counts at remount
Originally from: Herbert Poetzl <[email protected]>
This is the core of the read-only bind mount patch set.
Note that this does _not_ add a "ro" option directly to the bind mount
operation. If you require such a mount, you must first do the bind, then
follow it up with a 'mount -o remount,ro' operation:
If you wish to have a r/o bind mount of /foo on bar:
mount --bind /foo /bar
mount -o remount,ro /bar
Acked-by: Al Viro <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Dave Hansen <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions