diff options
author | David Howells <dhowells@redhat.com> | 2006-09-30 20:52:18 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2006-09-30 20:52:18 +0200 |
commit | 07f3f05c1e3052b8656129b2a5aca9f888241a34 (patch) | |
tree | 3338b004d518a0d2189efdc3fb88e94e1c02c0ce /fs/fs-writeback.c | |
parent | 65e6f5bc8149165efb9d7bdbd142bb837d5edfeb (diff) | |
download | lwn-07f3f05c1e3052b8656129b2a5aca9f888241a34.tar.gz lwn-07f3f05c1e3052b8656129b2a5aca9f888241a34.zip |
[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/fs-writeback.c')
-rw-r--r-- | fs/fs-writeback.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c index 892643dc9af1..0639024d83a9 100644 --- a/fs/fs-writeback.c +++ b/fs/fs-writeback.c @@ -22,8 +22,7 @@ #include <linux/blkdev.h> #include <linux/backing-dev.h> #include <linux/buffer_head.h> - -extern struct super_block *blockdev_superblock; +#include "internal.h" /** * __mark_inode_dirty - internal function |