diff options
author | Christoph Hellwig <hch@lst.de> | 2010-06-04 11:30:03 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-08-09 22:47:38 +0200 |
commit | db78b877f7744bec4a9d9f9e7d10da3931d7cd39 (patch) | |
tree | fd9ee2fbe0998218b6d90322f85b285887e6fe9d /fs/attr.c | |
parent | remove inode_setattr (diff) | |
download | linux-db78b877f7744bec4a9d9f9e7d10da3931d7cd39.tar.xz linux-db78b877f7744bec4a9d9f9e7d10da3931d7cd39.zip |
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 <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/attr.c')
0 files changed, 0 insertions, 0 deletions