From: Christoph Hellwig Date: Fri, 4 Jun 2010 09:30:03 +0000 (+0200) Subject: always call inode_change_ok early in ->setattr X-Git-Tag: v2.6.36-rc1~304^2~81 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db78b877f7744bec4a9d9f9e7d10da3931d7cd39;p=pandora-kernel.git always call inode_change_ok early in ->setattr Make sure we call inode_change_ok before doing any changes in ->setattr, and make sure to call it even if our fs wants to ignore normal UNIX permissions, but use the ATTR_FORCE to skip those. Signed-off-by: Christoph Hellwig Signed-off-by: Al Viro --- Reading git-diff-tree failed