fuse: Propagate dentry down to inode_change_ok()

[ Upstream commit 6249033076 ]

To avoid clearing of capabilities or security related extended
attributes too early, inode_change_ok() will need to take dentry instead
of inode. Propagate it down to fuse_do_setattr().

Acked-by: Miklos Szeredi <mszeredi@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
This commit is contained in:
Jan Kara 2016-12-14 13:24:46 +01:00 • committed by Sasha Levin
commit 33b52836b5
3 changed files with 6 additions and 5 deletions