ubifs: gc: Fix typo
authorRichard Weinberger <richard@nod.at>
Sun, 8 Jul 2018 21:24:46 +0000 (23:24 +0200)
committerRichard Weinberger <richard@nod.at>
Tue, 14 Aug 2018 22:06:15 +0000 (00:06 +0200)
UBIFS operates on LEBs, not PEBs.

Signed-off-by: Richard Weinberger <richard@nod.at>
fs/ubifs/gc.c

index a03a47c..2adc994 100644 (file)
@@ -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
                         * 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);
                        if (err)