Skip to content

Commit 312c39b

Browse files
ubifs: gc: Fix typo
UBIFS operates on LEBs, not PEBs. Signed-off-by: Richard Weinberger <[email protected]>
1 parent eef1981 commit 312c39b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/ubifs/gc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ int ubifs_garbage_collect_leb(struct ubifs_info *c, struct ubifs_lprops *lp)
483483
/*
484484
* Write buffers must be sync'd before unmapping
485485
* freeable LEBs, because one of them may contain data
486-
* which obsoletes something in 'lp->pnum'.
486+
* which obsoletes something in 'lp->lnum'.
487487
*/
488488
err = gc_sync_wbufs(c);
489489
if (err)

0 commit comments

Comments
 (0)