aboutsummaryrefslogtreecommitdiffstats
path: root/fs/internal.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2006-09-30 14:52:18 -0400
committerJens Axboe <axboe@kernel.dk>2006-09-30 14:52:18 -0400
commit07f3f05c1e3052b8656129b2a5aca9f888241a34 (patch)
tree3338b004d518a0d2189efdc3fb88e94e1c02c0ce /fs/internal.h
parent65e6f5bc8149165efb9d7bdbd142bb837d5edfeb (diff)
[PATCH] BLOCK: Move extern declarations out of fs/*.c into header files [try #6]
Create a new header file, fs/internal.h, for common definitions local to the sources in the fs/ directory. Move extern definitions that should be in header files from fs/*.c to fs/internal.h or other main header files where they span directories. Signed-Off-By: David Howells <dhowells@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/internal.h')
-rw-r--r--fs/internal.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/fs/internal.h b/fs/internal.h
new file mode 100644
index 000000000000..c21ecd37b1e7
--- /dev/null
+++ b/fs/internal.h
@@ -0,0 +1,36 @@
1/* fs/ internal definitions
2 *
3 * Copyright (C) 2006 Red Hat, Inc. All Rights Reserved.
4 * Written by David Howells (dhowells@redhat.com)
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version
9 * 2 of the License, or (at your option) any later version.
10 */
11
12#include <linux/ioctl32.h>
13
14/*
15 * block_dev.c
16 */
17extern struct super_block *blockdev_superblock;
18extern void __init bdev_cache_init(void);
19
20/*
21 * char_dev.c
22 */
23extern void __init chrdev_init(void);
24
25/*
26 * compat_ioctl.c
27 */
28#ifdef CONFIG_COMPAT
29extern struct ioctl_trans ioctl_start[];
30extern int ioctl_table_size;
31#endif
32
33/*
34 * namespace.c
35 */
36extern int copy_mount_options(const void __user *, unsigned long *);