fs: Rename file_remove_suid() to file_remove_privs()
authorJan Kara <jack@suse.cz>
Thu, 21 May 2015 14:05:53 +0000 (16:05 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 23 Jun 2015 22:01:08 +0000 (18:01 -0400)
commit5fa8e0a1c6a762857ae67d1628c58b9a02362003
tree53072ae36f38d4b3c1c56defff4b98acb274c077
parent2426f3910069ed47c0cc58559a6d088af7920201
fs: Rename file_remove_suid() to file_remove_privs()

file_remove_suid() is a misnomer since it removes also file capabilities
stored in xattrs and sets S_NOSEC flag. Also should_remove_suid() tells
something else than whether file_remove_suid() call is necessary which
leads to bugs.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/btrfs/file.c
fs/ceph/file.c
fs/fuse/file.c
fs/inode.c
fs/ntfs/file.c
fs/xfs/xfs_file.c
include/linux/fs.h
mm/filemap.c