exfat: remove handling of non-file types in exfat_map_cluster
authorChi Zhiling <chizhiling@kylinos.cn>
Wed, 14 Jan 2026 12:12:45 +0000 (20:12 +0800)
committerNamjae Jeon <linkinjeon@kernel.org>
Thu, 12 Feb 2026 12:21:50 +0000 (21:21 +0900)
commit88a936b7a918e4f37296524d355505128c961d9c
treee62719012661a60d8b88beecc36b0b348a704481
parent6d0b7f873bbd153f6ce26a87ffa32238693e36a0
exfat: remove handling of non-file types in exfat_map_cluster

Yuezhang said: "exfat_map_cluster() is only used for files. The code
in this 'else' block is never executed and can be cleaned up."

Suggested-by: Yuezhang Mo <Yuezhang.Mo@sony.com>
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/inode.c