fs: move mark_files_ro into file_table.c
authornpiggin@suse.de <npiggin@suse.de>
Sun, 26 Apr 2009 10:25:56 +0000 (20:25 +1000)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 12 Jun 2009 01:36:02 +0000 (21:36 -0400)
commit864d7c4c068f23642efe91b33be3a84afe5f71e0
tree512b253428958e95ca99274a664ace103f6bb10e
parent96029c4e09ccbd73a6d0ed2b29e80bf2586ad7ef
fs: move mark_files_ro into file_table.c

This function walks the s_files lock, and operates primarily on the
files in a superblock, so it better belongs here (eg. see also
fs_may_remount_ro).

[AV: ... and it shouldn't be static after that move]

Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/file_table.c
fs/internal.h
fs/super.c