[PATCH 4/5] fs: Give dentry to inode_change_ok() instead of inode

Christoph Hellwig hch at infradead.org
Tue Aug 9 03:28:28 CDT 2016


On Wed, Aug 03, 2016 at 01:28:08PM +0200, Jan Kara wrote:
> inode_change_ok() will be resposible for clearing capabilities and IMA
> extended attributes and as such will need dentry. Give it as an argument
> to inode_change_ok() instead of an inode. Also rename inode_change_ok()
> to setattr_prepare() to better relect that it does also some
> modifications in addition to checks.
> 
> Signed-off-by: Jan Kara <jack at suse.cz>

Looks fine:

Reviewed-by: Christoph Hellwig <hch at lst.de>



More information about the xfs mailing list