linux/fs/sysv
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
..
balloc.c sysv: drop lock/unlock super 2012-10-09 23:33:39 -04:00
dir.c [readdir] simple local unixlike: switch to ->iterate() 2013-06-29 12:46:47 +04:00
file.c fs: Give dentry to inode_change_ok() instead of inode 2017-02-23 03:53:52 +00:00
ialloc.c sysv: drop lock/unlock super 2012-10-09 23:33:39 -04:00
inode.c fix sysvfs symlinks 2015-12-18 16:06:32 +00:00
itree.c truncate: drop 'oldsize' truncate_pagecache() parameter 2013-09-12 15:38:02 -07:00
Kconfig fs/Kconfig: move sysv out 2009-01-22 13:15:59 +03:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
namei.c Don't pass inode to ->d_hash() and ->d_compare() 2013-06-29 12:57:36 +04:00
super.c sysv: Add forgotten superblock lock init for v7 fs 2013-09-29 22:02:02 -04:00
symlink.c [PATCH] mark struct inode_operations const 3 2007-02-12 09:48:46 -08:00
sysv.h sysv: drop lock/unlock super 2012-10-09 23:33:39 -04:00