* [PATCH] init/do_mounts.c: add maj:min syntax comment
@ 2013-09-12 20:54 Sebastian Capella
2013-09-12 21:03 ` Sebastian Capella
0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Capella @ 2013-09-12 20:54 UTC (permalink / raw)
To: linux-kernel, trivial
Cc: patches, Sebastian Capella, Andrew Morton, Stephen Warren,
Jens Axboe, Greg Kroah-Hartman, Al Viro
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>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Stephen Warren <swarren@nvidia.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Al Viro <viro@zeniv.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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] init/do_mounts.c: add maj:min syntax comment
2013-09-12 20:54 [PATCH] init/do_mounts.c: add maj:min syntax comment Sebastian Capella
@ 2013-09-12 21:03 ` Sebastian Capella
0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Capella @ 2013-09-12 21:03 UTC (permalink / raw)
To: Sebastian Capella, linux-kernel, trivial
Cc: patches, Andrew Morton, Stephen Warren, Jens Axboe,
Greg Kroah-Hartman, Al Viro
Quoting Sebastian Capella (2013-09-12 13:54:54)
> 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>
> Cc: Andrew Morton <akpm@linux-foundation.org>
> Cc: Stephen Warren <swarren@nvidia.com>
> Cc: Jens Axboe <axboe@kernel.dk>
> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> Cc: Al Viro <viro@zeniv.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
Correct trivial address
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-09-12 21:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-12 20:54 [PATCH] init/do_mounts.c: add maj:min syntax comment Sebastian Capella
2013-09-12 21:03 ` Sebastian Capella
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox