summaryrefslogtreecommitdiffstats
path: root/fs/internal.h
diff options
context:
space:
mode:
authornpiggin@suse.de2009-04-26 12:25:56 +0200
committerAl Viro2009-06-12 03:36:02 +0200
commit864d7c4c068f23642efe91b33be3a84afe5f71e0 (patch)
tree512b253428958e95ca99274a664ace103f6bb10e /fs/internal.h
parentfs: introduce mnt_clone_write (diff)
downloadkernel-qcow2-linux-864d7c4c068f23642efe91b33be3a84afe5f71e0.tar.gz
kernel-qcow2-linux-864d7c4c068f23642efe91b33be3a84afe5f71e0.tar.xz
kernel-qcow2-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.h5
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 *);