[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1379019294-14636-1-git-send-email-sebastian.capella@linaro.org>
Date: Thu, 12 Sep 2013 13:54:54 -0700
From: Sebastian Capella <sebastian.capella@...aro.org>
To: linux-kernel@...r.kernel.org, trivial@...r.kernel.org
Cc: patches@...aro.org,
Sebastian Capella <sebastian.capella@...aro.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Stephen Warren <swarren@...dia.com>,
Jens Axboe <axboe@...nel.dk>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Al Viro <viro@...iv.linux.org.uk>
Subject: [PATCH] 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@...aro.org>
Cc: Andrew Morton <akpm@...ux-foundation.org>
Cc: Stephen Warren <swarren@...dia.com>
Cc: Jens Axboe <axboe@...nel.dk>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: Al Viro <viro@...iv.linux.org.uk>
---
init/do_mounts.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/init/do_mounts.c b/init/do_mounts.c
index 816014c..89dc3a6 100644
--- a/init/do_mounts.c
+++ b/init/do_mounts.c
@@ -195,6 +195,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
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists