summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2025-03-17 04:12:48 +0100
committerTom Rini <[email protected]>2025-04-02 20:00:59 -0600
commit2375f713a219f03c36a0deb0bac90f0b2c2d2162 (patch)
treeb3af347c1c68f25cff7b8e1e046cd987b4caf31a /fs
parent74eb84686f9600d5aeed001f913c1e8c91b1a4ca (diff)
fs: exfat: Demote filesystem detection failure message to debug()
Demote "exFAT file system is not found" message to debug(). This is printed when U-Boot attempts to auto-detect the filesystem via generic filesystem API by attempting to mount the device, and fails to do so because there is another filesystem in place. The libexfat-fuse code prints this an error, which interferes with 'test_gpt' test. Demote the message to debug(). Reviewed-by: Tom Rini <[email protected]> Signed-off-by: Marek Vasut <[email protected]>
Diffstat (limited to 'fs')
-rw-r--r--fs/exfat/mount.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/fs/exfat/mount.c b/fs/exfat/mount.c
index c17a84735fc..0ff297af67b 100644
--- a/fs/exfat/mount.c
+++ b/fs/exfat/mount.c
@@ -226,7 +226,12 @@ int exfat_mount(struct exfat* ef, const char* spec, const char* options)
}
if (memcmp(ef->sb->oem_name, "EXFAT ", 8) != 0)
{
- exfat_error("exFAT file system is not found");
+#ifndef __UBOOT__
+ exfat_error(
+#else
+ exfat_debug(
+#endif
+ "exFAT file system is not found");
exfat_free(ef);
return -EIO;
}