diff options
author | David Howells <dhowells@redhat.com> | 2006-08-29 14:06:07 -0400 |
---|---|---|
committer | Jens Axboe <axboe@nelson.home.kernel.dk> | 2006-09-30 14:52:26 -0400 |
commit | 7b0de42d7c5a471741ede4e71727d88000e6ea59 (patch) | |
tree | 808b27ad3b2f4a83a97bcc4c001970fab96ff7b6 /fs/internal.h | |
parent | 07f3f05c1e3052b8656129b2a5aca9f888241a34 (diff) |
[PATCH] BLOCK: Remove dependence on existence of blockdev_superblock [try #6]
Move blockdev_superblock extern declaration from fs/fs-writeback.c to a
headerfile and remove the dependence on it by wrapping it in a macro.
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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/internal.h b/fs/internal.h index c21ecd37b1e7..f662b703bb97 100644 --- a/fs/internal.h +++ b/fs/internal.h | |||
@@ -17,6 +17,8 @@ | |||
17 | extern struct super_block *blockdev_superblock; | 17 | extern struct super_block *blockdev_superblock; |
18 | extern void __init bdev_cache_init(void); | 18 | extern void __init bdev_cache_init(void); |
19 | 19 | ||
20 | #define sb_is_blkdev_sb(sb) ((sb) == blockdev_superblock) | ||
21 | |||
20 | /* | 22 | /* |
21 | * char_dev.c | 23 | * char_dev.c |
22 | */ | 24 | */ |