linux/fs/ncpfs
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
..
dir.c move d_rcu from overlapping d_child to overlapping d_alias 2015-01-15 10:44:58 +00:00
file.c ncpfs: convert PPRINTK to ncp_vdbg 2014-04-08 16:48:52 -07:00
getopt.c fs/ncpfs/getopt.c: replace simple_strtoul by kstrtoul 2014-06-04 16:54:21 -07:00
getopt.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
inode.c fs: Give dentry to inode_change_ok() instead of inode 2016-11-20 01:17:38 +00:00
ioctl.c ncpfs: return proper error from NCP_IOC_SETROOT ioctl 2015-01-15 10:43:51 +00:00
Kconfig fs/Kconfig: move the rest of ncpfs out 2009-01-22 13:16:01 +03:00
Makefile fs: change to new flag variable 2011-03-17 14:02:57 +01:00
mmap.c ncpfs: convert DPRINTK/DDPRINTK to ncp_dbg 2014-04-08 16:48:52 -07:00
ncp_fs.h ncpfs: remove now unused PRINTK macro 2014-04-08 16:48:52 -07:00
ncp_fs_i.h move internal-only parts of ncpfs headers to fs/ncpfs 2011-01-12 20:03:43 -05:00
ncp_fs_sb.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2014-04-12 17:31:22 -07:00
ncplib_kernel.c ncpfs: convert PPRINTK to ncp_vdbg 2014-04-08 16:48:52 -07:00
ncplib_kernel.h move d_rcu from overlapping d_child to overlapping d_alias 2015-01-15 10:44:58 +00:00
ncpsign_kernel.c move internal-only parts of ncpfs headers to fs/ncpfs 2011-01-12 20:03:43 -05:00
ncpsign_kernel.h move internal-only parts of ncpfs headers to fs/ncpfs 2011-01-12 20:03:43 -05:00
sock.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2014-04-12 17:31:22 -07:00
symlink.c ncpfs: convert DPRINTK/DDPRINTK to ncp_dbg 2014-04-08 16:48:52 -07:00