]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] r/o bind mounts: elevate write count for chmod/chown callers
authorDave Hansen <haveblue@us.ibm.com>
Fri, 15 Feb 2008 22:37:50 +0000 (14:37 -0800)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 19 Apr 2008 04:29:25 +0000 (00:29 -0400)
commit2af482a7edfb8810539cacc2fdd8242611ca43bb
treea51f65bf608c47dd9e3a061258e6f461f3446349
parent4a3fd211ccfc08a88edc824300e25a87785c6a5f
[PATCH] r/o bind mounts: elevate write count for chmod/chown callers

chown/chmod,etc...  don't call permission in the same way that the normal
"open for write" calls do.  They still write to the filesystem, so bump the
write count during these operations.

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/open.c