JFFS2: Add useful fields into lists
authorPetr Borsodi <petr.borsodi@i.cz>
Thu, 7 May 2020 10:25:56 +0000 (12:25 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 15 May 2020 18:47:35 +0000 (14:47 -0400)
commit69dbebd1f70a983bede22ffb8be36fbf7eaa7d61
tree9eec551a0a355761407690299329fba4c625dead
parent25ec2282ebbcd09af0f8f714abbc9bab89659e9a
JFFS2: Add useful fields into lists

The inode list uses version and ino, the dirent list uses version and pino.
This information is collected during scanning, reducing accesses to flash
and significantly speeding up ls and read.

Signed-off-by: Petr Borsodi <petr.borsodi@i.cz>
fs/jffs2/jffs2_1pass.c
fs/jffs2/jffs2_private.h