Эх сурвалжийг харах

move fs/partitions to block/

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Al Viro 13 жил өмнө
parent
commit
9be96f3fd1

+ 6 - 0
block/Kconfig

@@ -99,6 +99,12 @@ config BLK_DEV_THROTTLING
 
 
 	See Documentation/cgroups/blkio-controller.txt for more information.
 	See Documentation/cgroups/blkio-controller.txt for more information.
 
 
+menu "Partition Types"
+
+source "block/partitions/Kconfig"
+
+endmenu
+
 endif # BLOCK
 endif # BLOCK
 
 
 config BLOCK_COMPAT
 config BLOCK_COMPAT

+ 2 - 1
block/Makefile

@@ -5,7 +5,8 @@
 obj-$(CONFIG_BLOCK) := elevator.o blk-core.o blk-tag.o blk-sysfs.o \
 obj-$(CONFIG_BLOCK) := elevator.o blk-core.o blk-tag.o blk-sysfs.o \
 			blk-flush.o blk-settings.o blk-ioc.o blk-map.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-exec.o blk-merge.o blk-softirq.o blk-timeout.o \
-			blk-iopoll.o blk-lib.o ioctl.o genhd.o scsi_ioctl.o
+			blk-iopoll.o blk-lib.o ioctl.o genhd.o scsi_ioctl.o \
+			partitions/
 
 
 obj-$(CONFIG_BLK_DEV_BSG)	+= bsg.o
 obj-$(CONFIG_BLK_DEV_BSG)	+= bsg.o
 obj-$(CONFIG_BLK_DEV_BSGLIB)	+= bsg-lib.o
 obj-$(CONFIG_BLK_DEV_BSGLIB)	+= bsg-lib.o

+ 0 - 0
fs/partitions/Kconfig → block/partitions/Kconfig


+ 0 - 0
fs/partitions/Makefile → block/partitions/Makefile


+ 0 - 0
fs/partitions/acorn.c → block/partitions/acorn.c


+ 0 - 0
fs/partitions/acorn.h → block/partitions/acorn.h


+ 0 - 0
fs/partitions/amiga.c → block/partitions/amiga.c


+ 0 - 0
fs/partitions/amiga.h → block/partitions/amiga.h


+ 0 - 0
fs/partitions/atari.c → block/partitions/atari.c


+ 0 - 0
fs/partitions/atari.h → block/partitions/atari.h


+ 0 - 0
fs/partitions/check.c → block/partitions/check.c


+ 0 - 0
fs/partitions/check.h → block/partitions/check.h


+ 0 - 0
fs/partitions/efi.c → block/partitions/efi.c


+ 0 - 0
fs/partitions/efi.h → block/partitions/efi.h


+ 0 - 0
fs/partitions/ibm.c → block/partitions/ibm.c


+ 0 - 0
fs/partitions/ibm.h → block/partitions/ibm.h


+ 0 - 0
fs/partitions/karma.c → block/partitions/karma.c


+ 0 - 0
fs/partitions/karma.h → block/partitions/karma.h


+ 0 - 0
fs/partitions/ldm.c → block/partitions/ldm.c


+ 0 - 0
fs/partitions/ldm.h → block/partitions/ldm.h


+ 0 - 0
fs/partitions/mac.c → block/partitions/mac.c


+ 0 - 0
fs/partitions/mac.h → block/partitions/mac.h


+ 0 - 0
fs/partitions/msdos.c → block/partitions/msdos.c


+ 0 - 0
fs/partitions/msdos.h → block/partitions/msdos.h


+ 0 - 0
fs/partitions/osf.c → block/partitions/osf.c


+ 0 - 0
fs/partitions/osf.h → block/partitions/osf.h


+ 0 - 0
fs/partitions/sgi.c → block/partitions/sgi.c


+ 0 - 0
fs/partitions/sgi.h → block/partitions/sgi.h


+ 0 - 0
fs/partitions/sun.c → block/partitions/sun.c


+ 0 - 0
fs/partitions/sun.h → block/partitions/sun.h


+ 0 - 0
fs/partitions/sysv68.c → block/partitions/sysv68.c


+ 0 - 0
fs/partitions/sysv68.h → block/partitions/sysv68.h


+ 0 - 0
fs/partitions/ultrix.c → block/partitions/ultrix.c


+ 0 - 0
fs/partitions/ultrix.h → block/partitions/ultrix.h


+ 0 - 8
fs/Kconfig

@@ -266,14 +266,6 @@ source "fs/9p/Kconfig"
 
 
 endif # NETWORK_FILESYSTEMS
 endif # NETWORK_FILESYSTEMS
 
 
-if BLOCK
-menu "Partition Types"
-
-source "fs/partitions/Kconfig"
-
-endmenu
-endif
-
 source "fs/nls/Kconfig"
 source "fs/nls/Kconfig"
 source "fs/dlm/Kconfig"
 source "fs/dlm/Kconfig"
 
 

+ 0 - 1
fs/Makefile

@@ -52,7 +52,6 @@ obj-$(CONFIG_FHANDLE)		+= fhandle.o
 obj-y				+= quota/
 obj-y				+= quota/
 
 
 obj-$(CONFIG_PROC_FS)		+= proc/
 obj-$(CONFIG_PROC_FS)		+= proc/
-obj-y				+= partitions/
 obj-$(CONFIG_SYSFS)		+= sysfs/
 obj-$(CONFIG_SYSFS)		+= sysfs/
 obj-$(CONFIG_CONFIGFS_FS)	+= configfs/
 obj-$(CONFIG_CONFIGFS_FS)	+= configfs/
 obj-y				+= devpts/
 obj-y				+= devpts/