fs: move file_remove_suid() to fs/inode.c
authorCong Wang <xiyou.wangcong@gmail.com>
Tue, 15 May 2012 06:57:33 +0000 (14:57 +0800)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 31 May 2012 01:04:52 +0000 (21:04 -0400)
commit3ed37648e1cbf1bbebc200c6ea8fd8daf8325843
tree60f27fc77a1e5c9c48790243266367318a3267dc
parent8bdc81c5069e43755d6e59e5e990e21ca200e8e2
fs: move file_remove_suid() to fs/inode.c

file_remove_suid() is a generic function operates on struct file,
it almost has no relations with file mapping, so move it to fs/inode.c.

Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/inode.c
mm/filemap.c