r-o-bind-mounts-elevate-writer-count-for-chown-and-friends
commit39171c9c9b12e1584ab4c7e8ab0375f4410b1196
authorDave Hansen <haveblue@us.ibm.com>
Tue, 6 Nov 2007 02:21:51 +0000 (6 02:21 +0000)
committerMatthias Urlichs <smurf@hera.kernel.org>
Wed, 14 Nov 2007 11:29:57 +0000 (14 11:29 +0000)
tree65f3f3108ba5938fbc28acd9c474f2bb31882a63
parent039f9f48ed164868ac8abc4d359fda8961fda224
r-o-bind-mounts-elevate-writer-count-for-chown-and-friends

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.

Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
Acked-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/open.c