fs: Provide function telling whether file_remove_privs() will do anything
authorJan Kara <jack@suse.cz>
Thu, 21 May 2015 14:05:54 +0000 (16:05 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 23 Jun 2015 22:01:09 +0000 (18:01 -0400)
Provide function telling whether file_remove_privs() will do anything.
Currently we only have should_remove_suid() and that does something
slightly different.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/inode.c
include/linux/fs.h

diff --cc fs/inode.c
Simple merge
Simple merge