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

Commit 01f19694 authored by Sascha Hauer's avatar Sascha Hauer Committed by Richard Weinberger
Browse files

ubi: Fix copy/paste error in function documentation



The function documentation of leb_write_trylock is copied from
leb_write_lock. Replace the function name with the correct one.

Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent 889027bc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -384,7 +384,7 @@ static int leb_write_lock(struct ubi_device *ubi, int vol_id, int lnum)
}

/**
 * leb_write_lock - lock logical eraseblock for writing.
 * leb_write_trylock - try to lock logical eraseblock for writing.
 * @ubi: UBI device description object
 * @vol_id: volume ID
 * @lnum: logical eraseblock number