Daniel Axtens 4de39a2af6 fs/f2fs: Fix off-by-one error in nat journal entries check
Oops. You're allowed to have up to n = NAT_JOURNAL_ENTRIES entries
_inclusive_, because the loop below uses i < n, not i <= n. D'oh.

Fixes: 4bd9877f6216 (fs/f2fs: Do not read past the end of nat journal entries)

Reported-by: программист нект <programmer11180@programist.ru>
Tested-by: программист нект <programmer11180@programist.ru>
Signed-off-by: Daniel Axtens <dja@axtens.net>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2023-01-19 17:39:05 +01:00
..
2011-10-30 16:10:18 +01:00
2022-03-14 15:45:30 +01:00
2022-03-14 15:45:30 +01:00
2011-04-11 18:13:00 +02:00
2022-07-27 19:20:53 +02:00
2022-03-14 15:45:30 +01:00
2022-03-14 15:45:30 +01:00
2021-03-02 15:54:18 +01:00
2011-04-11 08:16:13 +02:00
2022-03-14 15:45:30 +01:00
2019-04-09 10:03:29 +10:00
2022-03-14 15:45:30 +01:00
2022-03-14 15:45:30 +01:00
2020-07-29 16:55:47 +02:00
2010-05-06 11:34:04 +05:30
2012-12-08 20:56:58 +01:00
2022-03-14 15:45:30 +01:00
2022-12-07 23:38:26 +01:00