diff options
author | David Howells <dhowells@redhat.com> | 2006-09-30 14:52:18 -0400 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2006-09-30 14:52:18 -0400 |
commit | 07f3f05c1e3052b8656129b2a5aca9f888241a34 (patch) | |
tree | 3338b004d518a0d2189efdc3fb88e94e1c02c0ce /fs/internal.h | |
parent | 65e6f5bc8149165efb9d7bdbd142bb837d5edfeb (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.h | 36 |
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 | */ | ||
17 | extern struct super_block *blockdev_superblock; | ||
18 | extern void __init bdev_cache_init(void); | ||
19 | |||
20 | /* | ||
21 | * char_dev.c | ||
22 | */ | ||
23 | extern void __init chrdev_init(void); | ||
24 | |||
25 | /* | ||
26 | * compat_ioctl.c | ||
27 | */ | ||
28 | #ifdef CONFIG_COMPAT | ||
29 | extern struct ioctl_trans ioctl_start[]; | ||
30 | extern int ioctl_table_size; | ||
31 | #endif | ||
32 | |||
33 | /* | ||
34 | * namespace.c | ||
35 | */ | ||
36 | extern int copy_mount_options(const void __user *, unsigned long *); | ||