diff options
| author | Al Viro <[email protected]> | 2011-09-16 06:31:11 +0000 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2012-01-04 03:54:07 +0000 |
| commit | ff01bb4832651c6d25ac509a06a10fcbd75c461c (patch) | |
| tree | bbfdebd317db97d346df78293566f36e883b1be9 /mm/page-writeback.c | |
| parent | separate partition format handling from generic code (diff) | |
| download | kernel-ff01bb4832651c6d25ac509a06a10fcbd75c461c.tar.gz kernel-ff01bb4832651c6d25ac509a06a10fcbd75c461c.zip | |
fs: move code out of buffer.c
Move invalidate_bdev, block_sync_page into fs/block_dev.c. Export
kill_bdev as well, so brd doesn't have to open code it. Reduce
buffer_head.h requirement accordingly.
Removed a rather large comment from invalidate_bdev, as it looked a bit
obsolete to bother moving. The small comment replacing it says enough.
Signed-off-by: Nick Piggin <[email protected]>
Cc: Al Viro <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'mm/page-writeback.c')
| -rw-r--r-- | mm/page-writeback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/page-writeback.c b/mm/page-writeback.c index 50f08241f981..8616ef3025a4 100644 --- a/mm/page-writeback.c +++ b/mm/page-writeback.c @@ -32,7 +32,7 @@ #include <linux/sysctl.h> #include <linux/cpu.h> #include <linux/syscalls.h> -#include <linux/buffer_head.h> +#include <linux/buffer_head.h> /* __set_page_dirty_buffers */ #include <linux/pagevec.h> #include <trace/events/writeback.h> |
