[PATCH] r/o bind mounts: get write access for vfs_rename() callers
authorDave Hansen <haveblue@us.ibm.com>
Fri, 15 Feb 2008 22:37:49 +0000 (14:37 -0800)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 19 Apr 2008 04:25:34 +0000 (00:25 -0400)
commit9079b1eb1753f217c3de9f1b7dd7fd549cc3f0cf
tree8e522ad0b16829849e4b1602270eb10997fba41d
parent75c3f29de7451677c59580b0a959f694f36aac28
[PATCH] r/o bind mounts: get write access for vfs_rename() callers

This also uses the little helper in the NFS code to make an if() a little bit
less ugly.  We introduced the helper at the beginning of the series.

Acked-by: Al Viro <viro@ZenIV.linux.org.uk>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namei.c
fs/nfsd/vfs.c