diff options
author | Dave Hansen <haveblue@us.ibm.com> | 2008-02-15 23:37:31 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2008-04-19 06:25:32 +0200 |
commit | aceaf78da92a53f5e1b105649a1b8c0afdb2135c (patch) | |
tree | cab04e05f8b504b0a11d4986045bc3b08a3a1e75 /Documentation/cpuidle | |
parent | [PATCH] r/o bind mounts: stub functions (diff) | |
download | linux-aceaf78da92a53f5e1b105649a1b8c0afdb2135c.tar.xz linux-aceaf78da92a53f5e1b105649a1b8c0afdb2135c.zip |
[PATCH] r/o bind mounts: create helper to drop file write access
If someone decides to demote a file from r/w to just
r/o, they can use this same code as __fput().
NFS does just that, and will use this in the next
patch.
AV: drop write access in __fput() only after we evict from file list.
Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
Cc: Erez Zadok <ezk@cs.sunysb.edu>
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: "J Bruce Fields" <bfields@fieldses.org>
Acked-by: Al Viro <viro@ZenIV.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'Documentation/cpuidle')
0 files changed, 0 insertions, 0 deletions