diff options
| author | Dave Hansen <[email protected]> | 2008-02-15 14:37:30 -0800 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2008-04-19 00:25:32 -0400 |
| commit | 8366025eb80dfa0d8d94b286d53027081c280ef1 (patch) | |
| tree | 052c9244cd9d763ad8467bb95b25d903d58b7f11 /tools/perf/scripts/python | |
| parent | a70e65df8812c52252fa07a2eb92a46451a4427f (diff) | |
[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 <[email protected]>
Acked-by: Al Viro <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Dave Hansen <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions