author | Heinrich Schuchardt <xypron.glpk@gmx.de> | |
Thu, 26 Nov 2020 15:10:01 +0000 (16:10 +0100) | ||
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | |
Thu, 10 Dec 2020 08:14:59 +0000 (09:14 +0100) | ||
commit | 1e51c8d64a945946af72099dd469a3320ce02e7c | |
tree | fce39644a08905d3b21cc8dd5eb943e703a58018 | tree | snapshot (tar.xz tar.gz zip) |
parent | 3049a5106c95781663202c626d2e0f56fa2c6646 | commit | diff |
fs: fat: search file should not allocate cluster
Searching for a file is not a write operation. So it should not lead to the
allocation of a new cluster to the directory.
If we reuse deleted entries, we might not even use the new cluster and due
to not flushing it the directory could be corrupted.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Searching for a file is not a write operation. So it should not lead to the
allocation of a new cluster to the directory.
If we reuse deleted entries, we might not even use the new cluster and due
to not flushing it the directory could be corrupted.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
fs/fat/fat_write.c | diff | blob | history |