Move it together with the rest of the block layer.
Unified · Split
| @@ -315,6 +315,9 @@ Block Devices · 314 unmodified lines | ||
| 315 | 315 | .. kernel-doc:: block/genhd.c |
| 316 | 316 | :export: |
| 317 | 317 | |
| 318 | +.. kernel-doc:: block/bdev.c | |
| 319 | + :export: | |
| 320 | + | |
| 318 | 321 | Char devices |
| 319 | 322 | ============ |
| 320 | 323 | |
| @@ -71,9 +71,6 @@ Other Functions · 70 unmodified lines | ||
| 71 | 71 | .. kernel-doc:: fs/fs-writeback.c |
| 72 | 72 | :export: |
| 73 | 73 | |
| 74 | −.. kernel-doc:: fs/block_dev.c | |
| 75 | − :export: | |
| 76 | − | |
| 77 | 74 | .. kernel-doc:: fs/anon_inodes.c |
| 78 | 75 | :export: |
| 79 | 76 | |
| @@ -3300,7 +3300,6 @@ S: Maintained · 3299 unmodified lines | ||
| 3300 | 3300 | T: git git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git |
| 3301 | 3301 | F: block/ |
| 3302 | 3302 | F: drivers/block/ |
| 3303 | −F: fs/block_dev.c | |
| 3304 | 3303 | F: include/linux/blk* |
| 3305 | 3304 | F: kernel/trace/blktrace.c |
| 3306 | 3305 | F: lib/sbitmap.c |
| @@ -3,7 +3,7 @@ · 2 unmodified lines | ||
| 3 | 3 | # Makefile for the kernel block layer |
| 4 | 4 | # |
| 5 | 5 | |
| 6 | −obj-$(CONFIG_BLOCK) := fops.o bio.o elevator.o blk-core.o blk-sysfs.o \ | |
| 6 | +obj-$(CONFIG_BLOCK) := bdev.o fops.o bio.o elevator.o blk-core.o blk-sysfs.o \ | |
| 7 | 7 | blk-flush.o blk-settings.o blk-ioc.o blk-map.o \ |
| 8 | 8 | blk-exec.o blk-merge.o blk-timeout.o \ |
| 9 | 9 | blk-lib.o blk-mq.o blk-mq-tag.o blk-stat.o \ |
| @@ -26,8 +26,8 @@ · 25 unmodified lines | ||
| 26 | 26 | #include <linux/cleancache.h> |
| 27 | 27 | #include <linux/part_stat.h> |
| 28 | 28 | #include <linux/uaccess.h> |
| 29 | −#include "internal.h" | |
| 30 | −#include "../block/blk.h" | |
| 29 | +#include "../fs/internal.h" | |
| 30 | +#include "blk.h" | |
| 31 | 31 | |
| 32 | 32 | struct bdev_inode { |
| 33 | 33 | struct block_device bdev; |
| @@ -17,7 +17,7 @@ obj-y := open.o read_write.o file_table.o super.o \ · 16 unmodified lines | ||
| 17 | 17 | kernel_read_file.o remap_range.o |
| 18 | 18 | |
| 19 | 19 | ifeq ($(CONFIG_BLOCK),y) |
| 20 | −obj-y += buffer.o block_dev.o direct-io.o mpage.o | |
| 20 | +obj-y += buffer.o direct-io.o mpage.o | |
| 21 | 21 | else |
| 22 | 22 | obj-y += no-block.o |
| 23 | 23 | endif |
| @@ -18,7 +18,7 @@ struct user_namespace; · 17 unmodified lines | ||
| 18 | 18 | struct pipe_inode_info; |
| 19 | 19 | |
| 20 | 20 | /* |
| 21 | − * block_dev.c | |
| 21 | + * block/bdev.c | |
| 22 | 22 | */ |
| 23 | 23 | #ifdef CONFIG_BLOCK |
| 24 | 24 | extern void __init bdev_cache_init(void); |