linux/fs/hostfs
Jan Kara 50b070e822 fs: Give dentry to inode_change_ok() instead of inode
commit 31051c85b5 upstream.

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.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jan Kara <jack@suse.cz>
[bwh: Backported to 3.16:
 - Drop changes to orangefs, overlayfs
 - Adjust filenames, context
 - In nfsd, pass dentry to nfsd_sanitize_attrs()
 - Update ext3 as well]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
History 2017-02-23 03:53:52 +00:00
..
hostfs.h um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
hostfs_kern.c fs: Give dentry to inode_change_ok() instead of inode 2017-02-23 03:53:52 +00:00
hostfs_user.c um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00