Skip to contentSkip to conversation

block-support-embedded-device-command-line-partition-fix-fix-2.patch removed from -mm tree

folded-merged [email protected] 1 participant 1 message Aug 15, 2013 Block layer

lore
Share & tools
lore
#0 lore raw

Subject: [folded-merged] block-support-embedded-device-command-line-partition-fix-fix-2.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Wed, 14 Aug 2013 17:27:35 -0700

The patch titled
Subject: block: add command line partition parser
has been removed from the -mm tree. Its filename was
block-support-embedded-device-command-line-partition-fix-fix-2.patch

This patch was dropped because it was folded into block-support-embedded-device-command-line-partition.patch

------------------------------------------------------
From: Cai Zhiyong <[email protected]>
Subject: block: add command line partition parser

move the command line parser to a separate module, and change it into library-style code.

reference: https://lkml.org/lkml/2013/8/6/550

Cc "Wanglin (Albert)" <[email protected]>
Cc David Woodhouse <[email protected]>
Cc Karel Zak <[email protected]>
Cc Marius Groeger <[email protected]>
Cc Jens Axboe <[email protected]>

---

 block/Kconfig                  |    6 
 block/Makefile                 |    1 
 block/cmdline-parser.c         |  249 ++++++++++++++++++++++++
 block/partitions/Kconfig       |    1 
 block/partitions/cmdline.c     |  311 ++++---------------------------
 include/linux/cmdline-parser.h |   43 ++++
 6 files changed, 342 insertions(+), 269 deletions(-)
block/Kconfig renamed from block/Kconfig~block-support-embedded-device-command-line-partition-fix-fix-2 +6 -0
diff -puN block/Kconfig~block-support-embedded-device-command-line-partition-fix-fix-2 block/Kconfig
@@ -99,6 +99,12 @@ config BLK_DEV_THROTTLING
 
 	See Documentation/cgroups/blkio-controller.txt for more information.
 
+config CMDLINE_PARSER
+	bool "Block device command line partition parser"
+	default n
+	---help---
+	Parsing command line, get the partitions information.
+
 menu "Partition Types"
 
 source "block/partitions/Kconfig"
block/Makefile renamed from block/Makefile~block-support-embedded-device-command-line-partition-fix-fix-2 +1 -0
diff -puN block/Makefile~block-support-embedded-device-command-line-partition-fix-fix-2 block/Makefile
@@ -18,3 +18,4 @@ obj-$(CONFIG_IOSCHED_CFQ)	+= cfq-iosched
 
 obj-$(CONFIG_BLOCK_COMPAT)	+= compat_ioctl.o
 obj-$(CONFIG_BLK_DEV_INTEGRITY)	+= blk-integrity.o
+obj-$(CONFIG_CMDLINE_PARSER)	+= cmdline-parser.o
block/cmdline-parser.c new file +249 -0

249 lines not on this page · raw message

block/partitions/Kconfig renamed from block/partitions/Kconfig~block-support-embedded-device-command-line-partition-fix-fix-2 +1 -0
diff -puN block/partitions/Kconfig~block-support-embedded-device-command-line-partition-fix-fix-2 block/partitions/Kconfig
@@ -263,6 +263,7 @@ config SYSV68_PARTITION
 
 config CMDLINE_PARTITION
 	bool "Command line partition support" if PARTITION_ADVANCED
+	select CMDLINE_PARSER
 	help
 	  Say Y here if you would read the partitions table from bootargs.
 	  The format for the command line is just like mtdparts.
block/partitions/cmdline.c renamed from block/partitions/cmdline.c~block-support-embedded-device-command-line-partition-fix-fix-2 +42 -269

359 lines not on this page · raw message

include/linux/cmdline-parser.h new file +43 -0

43 lines not on this page · raw message

_

Patches currently in -mm which might be from [email protected] are

block-support-embedded-device-command-line-partition.patch linux-next.patch