summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchishanmingshen <chishanmingshen@gmail.com>2014-04-04 01:49:35 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-04-04 03:21:16 +0400
commita68b31080912dae377bee4994716b357dc74286d (patch)
tree82e89116559984879c5328a2324e54fb8f5dda63
parentb003f9650210fa1b3caea43201852bf2d9df7689 (diff)
downloadlinux-a68b31080912dae377bee4994716b357dc74286d.tar.xz
init/do_mounts.c: fix comment error
Signed-off-by: chishanmingshen <chishanmingshen@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--init/do_mounts.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/init/do_mounts.c b/init/do_mounts.c
index 8e5addc45874..82f22885c87e 100644
--- a/init/do_mounts.c
+++ b/init/do_mounts.c
@@ -102,13 +102,13 @@ no_match:
/**
* 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.