linux/fs/ufs
Jan Kara be9df69943 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 fuse, pass dentry to fuse_do_setattr()
 - In nfsd, pass dentry to nfsd_sanitize_attrs()
 - In xfs, pass dentry to xfs_setattr_nonsize() and xfs_setattr_size()
 - Update ext3 as well]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
History 2016-11-20 01:17:38 +00:00
..
balloc.c fs/ufs: restore s_lock mutex 2015-07-15 10:00:37 +01:00
cylinder.c drop linux/ufs_fs.h from userspace export and relocate it to fs/ufs/ufs_fs.h 2008-02-08 09:22:39 -08:00
dir.c [readdir] simple local unixlike: switch to ->iterate() 2013-06-29 12:46:47 +04:00
file.c write_iter variants of {__,}generic_file_aio_write() 2014-05-06 17:38:00 -04:00
ialloc.c fs/ufs: restore s_lock mutex 2015-07-15 10:00:37 +01:00
inode.c fs/ufs: revert "ufs: fix deadlocks introduced by sb mutex merge" 2015-07-15 10:00:34 +01:00
Kconfig fs/ufs: remove depends on CONFIG_EXPERIMENTAL 2013-01-21 14:39:06 -08:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
namei.c fs/ufs: revert "ufs: fix deadlocks introduced by sb mutex merge" 2015-07-15 10:00:34 +01:00
super.c fs/ufs: restore s_lock mutex_init() 2015-07-15 10:01:33 +01:00
swab.h ufs: replace __inline with inline 2008-04-28 08:58:45 -07:00
symlink.c ufs: add ufs speciffic ->setattr call 2010-05-21 19:30:40 +02:00
truncate.c fs: Give dentry to inode_change_ok() instead of inode 2016-11-20 01:17:38 +00:00
ufs.h fs/ufs: restore s_lock mutex 2015-07-15 10:00:37 +01:00
ufs_fs.h fs/ufs: get rid of write_super 2012-07-22 23:58:16 +04:00
util.c fs: ufs: remove cast for kmalloc return value 2013-03-18 14:15:58 +01:00
util.h ufs: use little-endian bitops 2011-03-23 19:46:19 -07:00