summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorDave Hansen <haveblue@us.ibm.com>2008-02-15 23:37:30 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2008-04-19 06:25:32 +0200
commit8366025eb80dfa0d8d94b286d53027081c280ef1 (patch)
tree052c9244cd9d763ad8467bb95b25d903d58b7f11 /init
parent[PATCH] merge open_namei() and do_filp_open() (diff)
downloadlinux-8366025eb80dfa0d8d94b286d53027081c280ef1.tar.xz
linux-8366025eb80dfa0d8d94b286d53027081c280ef1.zip
[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 <serue@us.ibm.com> Acked-by: Al Viro <viro@ZenIV.linux.org.uk> Signed-off-by: Christoph Hellwig <hch@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Dave Hansen <haveblue@us.ibm.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions