linux/fs/hpfs
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
..
alloc.c fs/hpfs: convert printk to pr_foo() 2014-06-06 16:08:10 -07:00
anode.c hpfs: convert to use leXX_add_cpu() 2012-10-06 03:05:08 +09:00
buffer.c fs/hpfs: increase pr_warn level 2014-06-06 16:08:10 -07:00
dentry.c Don't pass inode to ->d_hash() and ->d_compare() 2013-06-29 12:57:36 +04:00
dir.c fs/hpfs: increase pr_warn level 2014-06-06 16:08:10 -07:00
dnode.c fs/hpfs: increase pr_warn level 2014-06-06 16:08:10 -07:00
ea.c fs/hpfs: increase pr_warn level 2014-06-06 16:08:10 -07:00
file.c write_iter variants of {__,}generic_file_aio_write() 2014-05-06 17:38:00 -04:00
hpfs.h hpfs: assorted endianness annotations 2012-05-29 23:28:39 -04:00
hpfs_fn.h fs/hpfs: use pr_fmt for logging 2014-06-06 16:08:10 -07:00
inode.c fs: Give dentry to inode_change_ok() instead of inode 2017-02-23 03:53:52 +00:00
Kconfig HPFS: Make HPFS compile on preempt and SMP 2011-05-09 09:04:23 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
map.c fs/hpfs: increase pr_warn level 2014-06-06 16:08:10 -07:00
name.c fs/hpfs: increase pr_warn level 2014-06-06 16:08:10 -07:00
namei.c hpfs: don't truncate the file when delete fails 2016-03-08 12:15:34 +00:00
super.c hpfs: implement the show_options method 2016-08-22 22:38:06 +01:00