From: Dave Hansen Date: Fri, 15 Feb 2008 22:37:30 +0000 (-0800) Subject: [PATCH] r/o bind mounts: stub functions X-Git-Tag: v2.6.26-rc1~1134^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8366025eb80dfa0d8d94b286d53027081c280ef1;p=pandora-kernel.git [PATCH] r/o bind mounts: stub functions This patch adds two function mnt_want_write() and mnt_drop_write(). These are used like a lock pair around and fs operations that might cause a write to the filesystem. Before these can become useful, we must first cover each place in the VFS where writes are performed with a want/drop pair. When that is complete, we can actually introduce code that will safely check the counts before allowing r/w<->r/o transitions to occur. Acked-by: Serge Hallyn Acked-by: Al Viro Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Dave Hansen Signed-off-by: Al Viro --- Reading git-diff-tree failed