Skip to contentSkip to conversation

+ block-support-embedded-device-command-line-partition-fix-fix-2.patch added to -mm tree

PATCH [email protected] 1 participant 1 message Aug 14, 2013 Block layer

lore
Share & tools
lore
#0 lore raw

Subject: + block-support-embedded-device-command-line-partition-fix-fix-2.patch added to -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Wed, 14 Aug 2013 15:54:24 -0700

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

This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/block-support-embedded-device-command-line-partition-fix-fix-2.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/block-support-embedded-device-command-line-partition-fix-fix-2.patch

Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated there every 3-4 working days

------------------------------------------------------
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 block-support-embedded-device-command-line-partition-fix.patch block-support-embedded-device-command-line-partition-fix-fix-2.patch linux-next.patch