aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAl Viro2011-09-16 01:31:11 -0500
committerAl Viro2012-01-03 21:54:07 -0600
commitff01bb4832651c6d25ac509a06a10fcbd75c461c (patch)
treebbfdebd317db97d346df78293566f36e883b1be9 /block/ioctl.c
parent94ea4158f1733e3b10cef067d535f504866e0c41 (diff)
downloadkernel-common-ff01bb4832651c6d25ac509a06a10fcbd75c461c.tar.gz
kernel-common-ff01bb4832651c6d25ac509a06a10fcbd75c461c.tar.xz
kernel-common-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 <npiggin@suse.de> Cc: Al Viro <viro@ZenIV.linux.org.uk> Cc: Christoph Hellwig <hch@lst.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'block/ioctl.c')
-rw-r--r--block/ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/ioctl.c b/block/ioctl.c
index ca939fc1030..91e7b19c86f 100644
--- a/block/ioctl.c
+++ b/block/ioctl.c
@@ -5,7 +5,7 @@
5#include <linux/blkpg.h> 5#include <linux/blkpg.h>
6#include <linux/hdreg.h> 6#include <linux/hdreg.h>
7#include <linux/backing-dev.h> 7#include <linux/backing-dev.h>
8#include <linux/buffer_head.h> 8#include <linux/fs.h>
9#include <linux/blktrace_api.h> 9#include <linux/blktrace_api.h>
10#include <asm/uaccess.h> 10#include <asm/uaccess.h>
11 11