]> Git Repo - u-boot.git/commit
fs: fat: assure iterator's ->dent belongs to ->clust
authorAKASHI Takahiro <[email protected]>
Tue, 11 Sep 2018 06:59:00 +0000 (15:59 +0900)
committerAlexander Graf <[email protected]>
Sun, 23 Sep 2018 19:55:29 +0000 (21:55 +0200)
commitf528c140c8019609c92c3fcd89a0fde8d306332f
tree481bd6a2be3923ae679bbc47a35dd2ecf81959e6
parentb94b6be543c24ce8ce5debececb0af0708fbd97f
fs: fat: assure iterator's ->dent belongs to ->clust

In my attempt to re-work write operation, it was revealed that iterator's
"clust" does not always point to a cluster to which a current directory
entry ("dent") belongs.
This patch assures that it is always true by adding "next_clust" which is
used solely for dereferencing a cluster chain.

Signed-off-by: AKASHI Takahiro <[email protected]>
Signed-off-by: Alexander Graf <[email protected]>
fs/fat/fat.c
This page took 0.032567 seconds and 4 git commands to generate.