exfat: don't print error log in normal case
authorYuezhang Mo <Yuezhang.Mo@sony.com>
Thu, 9 Feb 2023 09:44:50 +0000 (17:44 +0800)
committerNamjae Jeon <linkinjeon@kernel.org>
Tue, 28 Feb 2023 11:01:36 +0000 (20:01 +0900)
commit3ce937cb8ca9becec406611c6072e93030fdde76
tree9e5f62012b8273902ee9a359900592cdfc94198d
parent8d2909eeca5ef41f64365f700b1fdde361086609
exfat: don't print error log in normal case

When allocating a new cluster, exFAT first allocates from the
next cluster of the last cluster of the file. If the last cluster
of the file is the last cluster of the volume, allocate from the
first cluster. This is a normal case, but the following error log
will be printed. It makes users confused, so this commit removes
the error log.

[1960905.181545] exFAT-fs (sdb1): hint_cluster is invalid (262130)

Signed-off-by: Yuezhang Mo <Yuezhang.Mo@sony.com>
Reviewed-by: Andy Wu <Andy.Wu@sony.com>
Reviewed-by: Sungjong Seo <sj1557.seo@samsung.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
fs/exfat/fatent.c