diff options
author | Mark Tomlinson <mark.tomlinson@alliedtelesis.co.nz> | 2015-07-01 16:38:24 +1200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-08-12 20:47:30 -0400 |
commit | 891224a5d8a54200d8b587284cab18b693a72dea (patch) | |
tree | d91cc304ef35f1a91c4c97608c7382849e4270b1 /fs/jffs2/Makefile | |
parent | 225cf4cdf9ffd73978f4a266d3ecc6c88b048a74 (diff) | |
download | u-boot-imx-891224a5d8a54200d8b587284cab18b693a72dea.zip u-boot-imx-891224a5d8a54200d8b587284cab18b693a72dea.tar.gz u-boot-imx-891224a5d8a54200d8b587284cab18b693a72dea.tar.bz2 |
JFFS2: Only list each directory entry once
If multiple versions of a file exist, only the most recent version
should be used. The scheme to write 0 for the inode in older versions
did not work, since this would have required writing to flash.
The only time this caused an issue was listing a directory, where older
versions of the file would still be seen. Since the directory entries
are sorted, just look at the next entry in the list, and if it's the same
move to that entry instead.
Signed-off-by: Mark Tomlinson <mark.tomlinson@alliedtelesis.co.nz>
Diffstat (limited to 'fs/jffs2/Makefile')
0 files changed, 0 insertions, 0 deletions