mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
[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 <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
parent
07f3f05c1e
commit
7b0de42d7c
2 changed files with 5 additions and 3 deletions
|
|
@ -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
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue