OSDN Git Service

block: move mm/bounce.c to block/
authorJens Axboe <axboe@fb.com>
Tue, 20 May 2014 02:01:52 +0000 (20:01 -0600)
committerJens Axboe <axboe@fb.com>
Tue, 20 May 2014 02:01:52 +0000 (20:01 -0600)
Continue moving some of the block files that are scattered around.
bounce.c contains only code for bouncing the contents of a bio.
It's block proper code, not mm code.

Suggested-by: Ming Lei <tom.leiming@gmail.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/Makefile
block/bounce.c [moved from mm/bounce.c with 100% similarity]
mm/Makefile

index b4c4d3b..a2ce6ac 100644 (file)
@@ -10,6 +10,7 @@ obj-$(CONFIG_BLOCK) := bio.o elevator.o blk-core.o blk-tag.o blk-sysfs.o \
                        genhd.o scsi_ioctl.o partition-generic.o ioprio.o \
                        partitions/
 
+obj-$(CONFIG_BOUNCE)   += bounce.o
 obj-$(CONFIG_BLK_DEV_BSG)      += bsg.o
 obj-$(CONFIG_BLK_DEV_BSGLIB)   += bsg-lib.o
 obj-$(CONFIG_BLK_CGROUP)       += blk-cgroup.o
similarity index 100%
rename from mm/bounce.c
rename to block/bounce.c
index b484452..0173940 100644 (file)
@@ -30,7 +30,6 @@ endif
 
 obj-$(CONFIG_HAVE_MEMBLOCK) += memblock.o
 
-obj-$(CONFIG_BOUNCE)   += bounce.o
 obj-$(CONFIG_SWAP)     += page_io.o swap_state.o swapfile.o
 obj-$(CONFIG_FRONTSWAP)        += frontswap.o
 obj-$(CONFIG_ZSWAP)    += zswap.o