]> git.karo-electronics.de Git - linux-beck.git/commitdiff
block: move bio.c and bio-integrity.c from fs/ to block/
authorJens Axboe <axboe@fb.com>
Mon, 19 May 2014 14:16:41 +0000 (08:16 -0600)
committerJens Axboe <axboe@fb.com>
Mon, 19 May 2014 14:34:46 +0000 (08:34 -0600)
They really belong in block/, especially now since it's not in
drivers/block/ anymore. Additionally, the get_maintainer script
gets it wrong when in fs/.

Suggested-by: Christoph Hellwig <hch@infradead.org>
Acked-by: Al Viro <viro@ZenIV.linux.org.uk>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/Makefile
block/bio-integrity.c [moved from fs/bio-integrity.c with 100% similarity]
block/bio.c [moved from fs/bio.c with 100% similarity]
fs/Makefile

index 20645e88fb572edc926a79ffdc764a41cfab3f36..506a0c570be222e0dbde9b0cff1b49dac3cfee53 100644 (file)
@@ -2,7 +2,7 @@
 # Makefile for the kernel block layer
 #
 
-obj-$(CONFIG_BLOCK) := elevator.o blk-core.o blk-tag.o blk-sysfs.o \
+obj-$(CONFIG_BLOCK) := bio.o elevator.o blk-core.o blk-tag.o blk-sysfs.o \
                        blk-flush.o blk-settings.o blk-ioc.o blk-map.o \
                        blk-exec.o blk-merge.o blk-softirq.o blk-timeout.o \
                        blk-iopoll.o blk-lib.o blk-mq.o blk-mq-tag.o \
@@ -20,3 +20,4 @@ obj-$(CONFIG_IOSCHED_CFQ)     += cfq-iosched.o
 obj-$(CONFIG_BLOCK_COMPAT)     += compat_ioctl.o
 obj-$(CONFIG_BLK_DEV_INTEGRITY)        += blk-integrity.o
 obj-$(CONFIG_BLK_CMDLINE_PARSER)       += cmdline-parser.o
+obj-$(CONFIG_BLK_DEV_INTEGRITY) += bio-integrity.o
similarity index 100%
rename from fs/bio-integrity.c
rename to block/bio-integrity.c
similarity index 100%
rename from fs/bio.c
rename to block/bio.c
index f9cb9876e466a02f7c0149412bea8a177031c509..1ed9eab5e0a96c547e01f51e18b0b2dfadb18737 100644 (file)
@@ -14,14 +14,13 @@ obj-y :=    open.o read_write.o file_table.o super.o \
                stack.o fs_struct.o statfs.o
 
 ifeq ($(CONFIG_BLOCK),y)
-obj-y +=       buffer.o bio.o block_dev.o direct-io.o mpage.o ioprio.o
+obj-y +=       buffer.o block_dev.o direct-io.o mpage.o ioprio.o
 else
 obj-y +=       no-block.o
 endif
 
 obj-$(CONFIG_PROC_FS) += proc_namespace.o
 
-obj-$(CONFIG_BLK_DEV_INTEGRITY) += bio-integrity.o
 obj-y                          += notify/
 obj-$(CONFIG_EPOLL)            += eventpoll.o
 obj-$(CONFIG_ANON_INODES)      += anon_inodes.o