]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
exfat: add data_start_bytes and exfat_cluster_to_phys_bytes() helper
authorNamjae Jeon <linkinjeon@kernel.org>
Wed, 6 May 2026 01:52:27 +0000 (10:52 +0900)
committerNamjae Jeon <linkinjeon@kernel.org>
Mon, 15 Jun 2026 10:55:47 +0000 (19:55 +0900)
commit3b9450beeb961c7ddf4cccddba37fcfa6d1fcb7a
treedacfcb6c4d53c54245a79e87a8270af18bf5f93c
parent286ae368871d2a93b68148c7684b8cff63c9ba80
exfat: add data_start_bytes and exfat_cluster_to_phys_bytes() helper

This caches the data area start offset in bytes (data_start_bytes)
and introduces a helper function exfat_cluster_to_phys_bytes() to compute
the physical byte position of a given cluster.

Acked-by: Christoph Hellwig <hch@lst.de>
Acked-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
fs/exfat/exfat_fs.h
fs/exfat/super.c