]> git.ipfire.org Git - thirdparty/linux.git/commit
exfat: reduce the number of parameters for exfat_get_cluster()
authorChi Zhiling <chizhiling@kylinos.cn>
Wed, 14 Jan 2026 12:12:43 +0000 (20:12 +0800)
committerNamjae Jeon <linkinjeon@kernel.org>
Thu, 12 Feb 2026 12:21:49 +0000 (21:21 +0900)
commitafb6ffa33dab9622f7502c081b17dbc9bc9a97d0
treeb1dfb554cd2e65881cf4d95e75a9754cc2688d42
parent5dc72a518137941852fc57b3cde97ff243791e57
exfat: reduce the number of parameters for exfat_get_cluster()

Remove parameter 'fclus' and 'allow_eof':

- The fclus parameter is changed to a local variable as it is not
  needed to be returned.

- The passed allow_eof parameter was always 1, remove it and the
  associated error handling.

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
fs/exfat/exfat_fs.h
fs/exfat/inode.c