From: Dave Hansen Date: Fri, 15 Feb 2008 22:38:00 +0000 (-0800) Subject: [PATCH] r/o bind mounts: honor mount writer counts at remount X-Git-Tag: v2.6.26-rc1~1134^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e4b7fcd926006531935a4c79a5e9349fe51125b;p=pandora-kernel.git [PATCH] r/o bind mounts: honor mount writer counts at remount Originally from: Herbert Poetzl 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 Signed-off-by: Christoph Hellwig Signed-off-by: Dave Hansen Signed-off-by: Andrew Morton Signed-off-by: Al Viro --- Reading git-diff-tree failed