Commit 312c39bd authored by Richard Weinberger's avatar Richard Weinberger

ubifs: gc: Fix typo

UBIFS operates on LEBs, not PEBs.
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent eef19816
...@@ -483,7 +483,7 @@ int ubifs_garbage_collect_leb(struct ubifs_info *c, struct ubifs_lprops *lp) ...@@ -483,7 +483,7 @@ int ubifs_garbage_collect_leb(struct ubifs_info *c, struct ubifs_lprops *lp)
/* /*
* Write buffers must be sync'd before unmapping * Write buffers must be sync'd before unmapping
* freeable LEBs, because one of them may contain data * freeable LEBs, because one of them may contain data
* which obsoletes something in 'lp->pnum'. * which obsoletes something in 'lp->lnum'.
*/ */
err = gc_sync_wbufs(c); err = gc_sync_wbufs(c);
if (err) if (err)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment