]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
exfat: tweak cluster cache to support zero offset
authorChi Zhiling <chizhiling@kylinos.cn>
Wed, 14 Jan 2026 12:17:47 +0000 (20:17 +0800)
committerNamjae Jeon <linkinjeon@kernel.org>
Thu, 12 Feb 2026 12:21:50 +0000 (21:21 +0900)
commit8c6bdce0e91425ca5e84f52819b7cf0e024fb129
tree86a36b10e4dfd4ba0c88c5a05f537fb85ed1628f
parent256694b22d017edcc8a0ce82a8e40742b074d509
exfat: tweak cluster cache to support zero offset

The current cache mechanism does not support reading clusters starting
from a file offset of zero. This patch enables that feature in
preparation for subsequent reads of contiguous clusters from offset zero.

1. support finding clusters with zero offset.
2. allow clusters with zero offset to be cached.

Signed-off-by: Chi Zhiling <chizhiling@kylinos.cn>
Reviewed-by: Yuezhang Mo <Yuezhang.Mo@sony.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
fs/exfat/cache.c