diff options
author | David Howells <dhowells@redhat.com> | 2006-08-29 19:06:07 +0100 |
---|---|---|
committer | Jens Axboe <axboe@nelson.home.kernel.dk> | 2006-09-30 20:52:26 +0200 |
commit | 7b0de42d7c5a471741ede4e71727d88000e6ea59 (patch) | |
tree | 808b27ad3b2f4a83a97bcc4c001970fab96ff7b6 /fs/internal.h | |
parent | 07f3f05c1e3052b8656129b2a5aca9f888241a34 (diff) | |
download | linux-7b0de42d7c5a471741ede4e71727d88000e6ea59.tar.gz linux-7b0de42d7c5a471741ede4e71727d88000e6ea59.tar.bz2 linux-7b0de42d7c5a471741ede4e71727d88000e6ea59.zip |
[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 @@ extern struct super_block *blockdev_superblock; extern void __init bdev_cache_init(void); +#define sb_is_blkdev_sb(sb) ((sb) == blockdev_superblock) + /* * char_dev.c */ |