From: Dan Ehrenberg Date: Tue, 10 Feb 2015 23:20:50 +0000 (-0800) Subject: init: stricter checking of major:minor root= values X-Git-Tag: omap-for-v4.1/fixes-rc1~106^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=283e7ad0241155710f99a9f39d13313a53336926;p=pandora-kernel.git init: stricter checking of major:minor root= values In the kernel command-line, previously, root=1:2jakshflaksjdhfa would be accepted and interpreted just like root=1:2. This patch adds stricter checking so that additional characters after major:minor are rejected by root=. The goal of this change is to help in unifying DM's interpretation of its block device argument by using existing kernel code (name_to_dev_t). But DM rejects malformed major:minor pairs, it seems reasonable for root= to reject them as well. Signed-off-by: Dan Ehrenberg Signed-off-by: Mike Snitzer --- Reading git-diff-tree failed