summaryrefslogtreecommitdiff
path: root/fs/jffs2/Makefile
diff options
context:
space:
mode:
authorStefan Brüns <stefan.bruens@rwth-aachen.de>2016-09-11 20:51:40 (GMT)
committerTom Rini <trini@konsulko.com>2016-09-23 12:55:56 (GMT)
commit3c0ed9c3a561ca744b2b76921bb8352ba2340669 (patch)
tree96eaf61ad2db6e61e4b17944aa222c914cb07b49 /fs/jffs2/Makefile
parented76f912777066c788ae7e9cfb1d5e19e8c35274 (diff)
downloadu-boot-fsl-qoriq-3c0ed9c3a561ca744b2b76921bb8352ba2340669.tar.xz
fs/fat: Do not write unmodified fat entries to disk
The code caches 6 sectors of the FAT. On FAT traversal, the old contents needs to be flushed to disk, but only if any FAT entries had been modified. Explicitly flag the buffer on modification. Currently, creating a new file traverses the whole FAT up to the first free cluster and rewrites the on-disk blocks. Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de> Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
Diffstat (limited to 'fs/jffs2/Makefile')
0 files changed, 0 insertions, 0 deletions