get rid of s_files and files_lock
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 4 Oct 2013 15:06:42 +0000 (11:06 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 4 Jul 2015 02:48:08 +0000 (19:48 -0700)
commit68c8a7ae3030f73631a98d4d9ee16e31cba0c1b5
treeed52b3fe6c68fea5f586d108f6fe0fcd3ec2783d
parent2a7abb5a0b35ca8f7c9f8113322fbff87b5d6667
get rid of s_files and files_lock

commit eee5cc2702929fd41cce28058dc6d6717f723f87 upstream.

The only thing we need it for is alt-sysrq-r (emergency remount r/o)
and these days we can do just as well without going through the
list of files.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
[wangkai: backport to 3.10: adjust context]
Signed-off-by: Wang Kai <morgan.wang@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/file_table.c
fs/internal.h
fs/open.c
fs/super.c
include/linux/fs.h