Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f7232f08 authored by Lucia Rosculete's avatar Lucia Rosculete Committed by Jiri Kosina
Browse files

semaphore: fix improper comment reference to mutex



Replace "mutex" with "semaphore" in down_trylock comment

Signed-off-by: default avatarLucia Rosculete <luciarosculete@gmail.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 4deb508e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -118,7 +118,7 @@ EXPORT_SYMBOL(down_killable);
 * down_trylock - try to acquire the semaphore, without waiting
 * @sem: the semaphore to be acquired
 *
 * Try to acquire the semaphore atomically.  Returns 0 if the mutex has
 * Try to acquire the semaphore atomically.  Returns 0 if the semaphore has
 * been acquired successfully or 1 if it it cannot be acquired.
 *
 * NOTE: This return value is inverted from both spin_trylock and