diff options
author | 2015-02-10 15:20:50 -0800 | |
---|---|---|
committer | 2015-04-15 12:10:19 -0400 | |
commit | 283e7ad0241155710f99a9f39d13313a53336926 (patch) | |
tree | 88f730b39f4438648f3da982a596fcfa5f3ce70e /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | init: export name_to_dev_t and mark name argument as const (diff) | |
download | wireguard-linux-283e7ad0241155710f99a9f39d13313a53336926.tar.xz wireguard-linux-283e7ad0241155710f99a9f39d13313a53336926.zip |
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 <dehrenberg@chromium.org>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions