move fs/partitions to block/
Al Viro [Fri, 16 Sep 2011 04:25:05 +0000 (00:25 -0400)]
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

36 files changed:
block/Kconfig
block/Makefile
block/partitions/Kconfig [moved from fs/partitions/Kconfig with 100% similarity]
block/partitions/Makefile [moved from fs/partitions/Makefile with 100% similarity]
block/partitions/acorn.c [moved from fs/partitions/acorn.c with 100% similarity]
block/partitions/acorn.h [moved from fs/partitions/acorn.h with 100% similarity]
block/partitions/amiga.c [moved from fs/partitions/amiga.c with 100% similarity]
block/partitions/amiga.h [moved from fs/partitions/amiga.h with 100% similarity]
block/partitions/atari.c [moved from fs/partitions/atari.c with 100% similarity]
block/partitions/atari.h [moved from fs/partitions/atari.h with 100% similarity]
block/partitions/check.c [moved from fs/partitions/check.c with 100% similarity]
block/partitions/check.h [moved from fs/partitions/check.h with 100% similarity]
block/partitions/efi.c [moved from fs/partitions/efi.c with 100% similarity]
block/partitions/efi.h [moved from fs/partitions/efi.h with 100% similarity]
block/partitions/ibm.c [moved from fs/partitions/ibm.c with 100% similarity]
block/partitions/ibm.h [moved from fs/partitions/ibm.h with 100% similarity]
block/partitions/karma.c [moved from fs/partitions/karma.c with 100% similarity]
block/partitions/karma.h [moved from fs/partitions/karma.h with 100% similarity]
block/partitions/ldm.c [moved from fs/partitions/ldm.c with 100% similarity]
block/partitions/ldm.h [moved from fs/partitions/ldm.h with 100% similarity]
block/partitions/mac.c [moved from fs/partitions/mac.c with 100% similarity]
block/partitions/mac.h [moved from fs/partitions/mac.h with 100% similarity]
block/partitions/msdos.c [moved from fs/partitions/msdos.c with 100% similarity]
block/partitions/msdos.h [moved from fs/partitions/msdos.h with 100% similarity]
block/partitions/osf.c [moved from fs/partitions/osf.c with 100% similarity]
block/partitions/osf.h [moved from fs/partitions/osf.h with 100% similarity]
block/partitions/sgi.c [moved from fs/partitions/sgi.c with 100% similarity]
block/partitions/sgi.h [moved from fs/partitions/sgi.h with 100% similarity]
block/partitions/sun.c [moved from fs/partitions/sun.c with 100% similarity]
block/partitions/sun.h [moved from fs/partitions/sun.h with 100% similarity]
block/partitions/sysv68.c [moved from fs/partitions/sysv68.c with 100% similarity]
block/partitions/sysv68.h [moved from fs/partitions/sysv68.h with 100% similarity]
block/partitions/ultrix.c [moved from fs/partitions/ultrix.c with 100% similarity]
block/partitions/ultrix.h [moved from fs/partitions/ultrix.h with 100% similarity]
fs/Kconfig
fs/Makefile

index e97934e..09acf1b 100644 (file)
@@ -99,6 +99,12 @@ config BLK_DEV_THROTTLING
 
        See Documentation/cgroups/blkio-controller.txt for more information.
 
+menu "Partition Types"
+
+source "block/partitions/Kconfig"
+
+endmenu
+
 endif # BLOCK
 
 config BLOCK_COMPAT
index 514c6e4..3199c0c 100644 (file)
@@ -5,7 +5,8 @@
 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-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_BSGLIB)   += bsg-lib.o
similarity index 100%
rename from fs/partitions/efi.c
rename to block/partitions/efi.c
similarity index 100%
rename from fs/partitions/efi.h
rename to block/partitions/efi.h
similarity index 100%
rename from fs/partitions/ibm.c
rename to block/partitions/ibm.c
similarity index 100%
rename from fs/partitions/ibm.h
rename to block/partitions/ibm.h
similarity index 100%
rename from fs/partitions/ldm.c
rename to block/partitions/ldm.c
similarity index 100%
rename from fs/partitions/ldm.h
rename to block/partitions/ldm.h
similarity index 100%
rename from fs/partitions/mac.c
rename to block/partitions/mac.c
similarity index 100%
rename from fs/partitions/mac.h
rename to block/partitions/mac.h
similarity index 100%
rename from fs/partitions/osf.c
rename to block/partitions/osf.c
similarity index 100%
rename from fs/partitions/osf.h
rename to block/partitions/osf.h
similarity index 100%
rename from fs/partitions/sgi.c
rename to block/partitions/sgi.c
similarity index 100%
rename from fs/partitions/sgi.h
rename to block/partitions/sgi.h
similarity index 100%
rename from fs/partitions/sun.c
rename to block/partitions/sun.c
similarity index 100%
rename from fs/partitions/sun.h
rename to block/partitions/sun.h
index 5f4c45d..30145d8 100644 (file)
@@ -266,14 +266,6 @@ source "fs/9p/Kconfig"
 
 endif # NETWORK_FILESYSTEMS
 
-if BLOCK
-menu "Partition Types"
-
-source "fs/partitions/Kconfig"
-
-endmenu
-endif
-
 source "fs/nls/Kconfig"
 source "fs/dlm/Kconfig"
 
index d2c3353..c36ebec 100644 (file)
@@ -52,7 +52,6 @@ obj-$(CONFIG_FHANDLE)         += fhandle.o
 obj-y                          += quota/
 
 obj-$(CONFIG_PROC_FS)          += proc/
-obj-y                          += partitions/
 obj-$(CONFIG_SYSFS)            += sysfs/
 obj-$(CONFIG_CONFIGFS_FS)      += configfs/
 obj-y                          += devpts/