Re: [PATCH 1/3] fs: fat: finding an empty FAT cluster

2022-07-13 Thread AKASHI Takahiro
Thank you for fixing this. On Tue, Jul 12, 2022 at 10:33:12PM +, Heinrich Schuchardt wrote: > Currently we have two functions with redundant coding to find an empty > cluster: > > * find_empty_cluster() seeks from the beginning of the FAT table > * determine_fatent() seeks after a given entry

[PATCH 1/3] fs: fat: finding an empty FAT cluster

2022-07-12 Thread Heinrich Schuchardt
Currently we have two functions with redundant coding to find an empty cluster: * find_empty_cluster() seeks from the beginning of the FAT table * determine_fatent() seeks after a given entry Both do not detect the end of the FAT table correctly and return an invalid cluster number if no empty en