summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorchishanmingshen2014-04-03 23:49:35 +0200
committerLinus Torvalds2014-04-04 01:21:16 +0200
commita68b31080912dae377bee4994716b357dc74286d (patch)
tree82e89116559984879c5328a2324e54fb8f5dda63 /init
parentbinfmt_misc: add missing 'break' statement (diff)
downloadkernel-qcow2-linux-a68b31080912dae377bee4994716b357dc74286d.tar.gz
kernel-qcow2-linux-a68b31080912dae377bee4994716b357dc74286d.tar.xz
kernel-qcow2-linux-a68b31080912dae377bee4994716b357dc74286d.zip
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>
Diffstat (limited to 'init')
-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.