summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorSebastian Capella <sebastian.capella@linaro.org>2013-11-05 16:56:05 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2013-11-05 16:56:05 +1100
commitd79307da8c865c62c3dc87c774243da00bf05f57 (patch)
tree4a70e755fc6e42223b78107d0aeee926d9a6dc31 /init
parent1fb83f47b8181623bd69ee5361a3d519ad26794d (diff)
init/do_mounts.c: add maj:min syntax comment
The name_to_dev_t function has a comment block which lists the supported syntaxes for the device name. Add a bullet for the <major>:<minor> syntax, which is already supported in the code Signed-off-by: Sebastian Capella <sebastian.capella@linaro.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'init')
-rw-r--r--init/do_mounts.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/init/do_mounts.c b/init/do_mounts.c
index a51cddc2ff8c..8e5addc45874 100644
--- a/init/do_mounts.c
+++ b/init/do_mounts.c
@@ -197,6 +197,8 @@ done:
* is a zero-filled hex representation of the 1-based partition number.
* 7) PARTUUID=<UUID>/PARTNROFF=<int> to select a partition in relation to
* a partition with a known unique id.
+ * 8) <major>:<minor> major and minor number of the device separated by
+ * a colon.
*
* If name doesn't have fall into the categories above, we return (0,0).
* block_class is used to check if something is a disk name. If the disk