Commit a68b3108 authored by chishanmingshen's avatar chishanmingshen Committed by Linus Torvalds

init/do_mounts.c: fix comment error

Signed-off-by: default avatarchishanmingshen <chishanmingshen@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent b003f965
......@@ -102,13 +102,13 @@ static int match_dev_by_uuid(struct device *dev, const void *data)
/**
* devt_from_partuuid - looks up the dev_t of a partition by its UUID
* @uuid: char array containing ascii UUID
* @uuid_str: char array containing ascii UUID
*
* The function will return the first partition which contains a matching
* UUID value in its partition_meta_info struct. This does not search
* by filesystem UUIDs.
*
* If @uuid is followed by a "/PARTNROFF=%d", then the number will be
* If @uuid_str is followed by a "/PARTNROFF=%d", then the number will be
* extracted and used as an offset from the partition identified by the UUID.
*
* Returns the matching dev_t on success or 0 on failure.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment