[PATCH] r/o bind mounts: elevate write count for rmdir and unlink.
commit0622753b800e4cc6cb9319b36b27658c72dd7cdc
authorDave Hansen <haveblue@us.ibm.com>
Fri, 15 Feb 2008 22:37:34 +0000 (15 14:37 -0800)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 19 Apr 2008 04:25:33 +0000 (19 00:25 -0400)
tree5a32b65a087ff7fd5effa8d3f6f1f9717d4391aa
parent49e0d02cf018d4edf24bfc8531a816a26367e4ce
[PATCH] r/o bind mounts: elevate write count for rmdir and unlink.

Elevate the write count during the vfs_rmdir() and vfs_unlink().

[AV: merged rmdir and unlink parts, added missing pieces in nfsd]

Acked-by: Serge Hallyn <serue@us.ibm.com>
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/nfs4recover.c
fs/nfsd/vfs.c
ipc/mqueue.c