summaryrefslogtreecommitdiffstats
path: root/fs/ubifs
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2018-07-08 23:24:46 +0200
committerRichard Weinberger <richard@nod.at>2018-08-15 00:06:15 +0200
commit312c39bd6d515122b4b0022780e46c63ea9b8bec (patch)
treef62a46a7e814126da6747a7323fbc50639657392 /fs/ubifs
parenteef19816ada3abd56d9f20c88794cc2fea83ebb2 (diff)
downloadblackbird-op-linux-312c39bd6d515122b4b0022780e46c63ea9b8bec.tar.gz
blackbird-op-linux-312c39bd6d515122b4b0022780e46c63ea9b8bec.zip
ubifs: gc: Fix typo
UBIFS operates on LEBs, not PEBs. Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'fs/ubifs')
-rw-r--r--fs/ubifs/gc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ubifs/gc.c b/fs/ubifs/gc.c
index a03a47cf880d..2adc994ffd9f 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)
OpenPOWER on IntegriCloud