[patch] vfs: make security_inode_setattr() calling consistent
commita77b72da24ecfe262760874c55e3f6461f1dec0d
authorMiklos Szeredi <mszeredi@suse.cz>
Wed, 30 Jul 2008 12:06:22 +0000 (30 14:06 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 23 Oct 2008 09:13:27 +0000 (23 05:13 -0400)
tree36c8c0215866099d03fb99aa5d13f765f2c73dba
parent2c512397ca060f6dbcb3957174a91e29a3b769be
[patch] vfs: make security_inode_setattr() calling consistent

Call security_inode_setattr() consistetly before inode_change_ok().
It doesn't make sense to try to "optimize" the i_op->setattr == NULL
case, as most filesystem do define their own setattr function.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
fs/attr.c