Jan Kara fd5472ed44 ceph: Propagate dentry down to inode_change_ok()
To avoid clearing of capabilities or security related extended
attributes too early, inode_change_ok() will need to take dentry instead
of inode. ceph_setattr() has the dentry easily available but
__ceph_setattr() is also called from ceph_set_acl() where dentry is not
easily available. Luckily that call path does not need inode_change_ok()
to be called anyway. So reorganize functions a bit so that
inode_change_ok() is called only from paths where dentry is available.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Jan Kara <jack@suse.cz>
2016-09-22 10:56:19 +02:00
..
2016-07-28 02:55:38 +02:00
2016-06-01 10:31:50 +02:00
2016-07-28 03:00:45 +02:00
2016-06-24 23:49:03 -04:00
2016-07-28 02:55:39 +02:00
2012-05-16 14:28:27 -05:00
2013-12-31 20:32:01 +02:00
2013-12-31 20:32:01 +02:00
2016-08-02 19:39:09 -04:00
2016-05-26 01:15:31 +02:00
2016-07-28 03:00:44 +02:00
2015-04-22 18:33:41 +03:00
2016-07-28 03:00:45 +02:00
2016-07-28 02:55:38 +02:00