diff options
author | npiggin@suse.de <npiggin@suse.de> | 2009-04-26 20:25:56 +1000 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2009-06-11 21:36:02 -0400 |
commit | 864d7c4c068f23642efe91b33be3a84afe5f71e0 (patch) | |
tree | 512b253428958e95ca99274a664ace103f6bb10e /fs/internal.h | |
parent | 96029c4e09ccbd73a6d0ed2b29e80bf2586ad7ef (diff) | |
download | linux-864d7c4c068f23642efe91b33be3a84afe5f71e0.tar.gz linux-864d7c4c068f23642efe91b33be3a84afe5f71e0.tar.bz2 linux-864d7c4c068f23642efe91b33be3a84afe5f71e0.zip |
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>
Diffstat (limited to 'fs/internal.h')
-rw-r--r-- | fs/internal.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/internal.h b/fs/internal.h index b4dac4fb6b61..6d4ef208ef65 100644 --- a/fs/internal.h +++ b/fs/internal.h @@ -66,3 +66,8 @@ extern void __init mnt_init(void); * fs_struct.c */ extern void chroot_fs_refs(struct path *, struct path *); + +/* + * file_table.c + */ +extern void mark_files_ro(struct super_block *); |