Skip to content

Commit

Permalink
init/do_mounts.c: fix comment error
Browse files Browse the repository at this point in the history
Signed-off-by: chishanmingshen <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
chishanmingshen authored and torvalds committed Apr 3, 2014
1 parent b003f96 commit a68b310
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions init/do_mounts.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit a68b310

Please sign in to comment.