From: Richard Weinberger Date: Sun, 8 Jul 2018 21:24:46 +0000 (+0200) Subject: ubifs: gc: Fix typo X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=312c39bd6d515122b4b0022780e46c63ea9b8bec;p=linux.git ubifs: gc: Fix typo UBIFS operates on LEBs, not PEBs. Signed-off-by: Richard Weinberger --- diff --git a/fs/ubifs/gc.c b/fs/ubifs/gc.c index a03a47cf880dd..2adc994ffd9fc 100644 --- a/fs/ubifs/gc.c +++ b/fs/ubifs/gc.c @@ -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)