aboutsummaryrefslogtreecommitdiffstats
path: root/init/do_mounts.c
diff options
context:
space:
mode:
authorchishanmingshen <chishanmingshen@gmail.com>2014-04-03 17:49:35 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-04-03 19:21:16 -0400
commita68b31080912dae377bee4994716b357dc74286d (patch)
tree82e89116559984879c5328a2324e54fb8f5dda63 /init/do_mounts.c
parentb003f9650210fa1b3caea43201852bf2d9df7689 (diff)
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/do_mounts.c')
-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:
102 102
103/** 103/**
104 * devt_from_partuuid - looks up the dev_t of a partition by its UUID 104 * devt_from_partuuid - looks up the dev_t of a partition by its UUID
105 * @uuid: char array containing ascii UUID 105 * @uuid_str: char array containing ascii UUID
106 * 106 *
107 * The function will return the first partition which contains a matching 107 * The function will return the first partition which contains a matching
108 * UUID value in its partition_meta_info struct. This does not search 108 * UUID value in its partition_meta_info struct. This does not search
109 * by filesystem UUIDs. 109 * by filesystem UUIDs.
110 * 110 *
111 * If @uuid is followed by a "/PARTNROFF=%d", then the number will be 111 * If @uuid_str is followed by a "/PARTNROFF=%d", then the number will be
112 * extracted and used as an offset from the partition identified by the UUID. 112 * extracted and used as an offset from the partition identified by the UUID.
113 * 113 *
114 * Returns the matching dev_t on success or 0 on failure. 114 * Returns the matching dev_t on success or 0 on failure.