diff options
author | 2018-05-14 10:18:19 +0200 | |
---|---|---|
committer | 2018-06-07 15:53:15 +0200 | |
commit | e1db654d8e326173a1c1a0194185250340cab03c (patch) | |
tree | 591e57fe2e3a25945883cd26d6eec275cbe97798 /lib/test_overflow.c | |
parent | ubifs: gc: Fix typo (diff) | |
download | linux-dev-e1db654d8e326173a1c1a0194185250340cab03c.tar.xz linux-dev-e1db654d8e326173a1c1a0194185250340cab03c.zip |
ubifs: lpt: Fix wrong pnode number range in comment
The comment above pnode_lookup claims the range for the pnode number is
from 0 to main_lebs - 1. This is wrong because every pnode has
informations about UBIFS_LPT_FANOUT LEBs, thus the corrent range is
0 to to (main_lebs - 1) / UBIFS_LPT_FANOUT.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions