fs: exfat: Fix exfat_fs_exists() return value
authorMarek Vasut <marex@denx.de>
Sun, 13 Apr 2025 08:55:02 +0000 (10:55 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 21 Apr 2025 17:07:04 +0000 (11:07 -0600)
commite168a57c3532487b24348351f71f9f6ce7d671ee
tree8585bc174d050e1c2fadf8b6b2b5d614f75e7ed3
parent01a8121b7daa68767fe88fa92d436b95a1662bed
fs: exfat: Fix exfat_fs_exists() return value

The exfat_fs_exists() should return 0 in case the path does not exist,
and 1 in case the path does exist. Fix the inverted return value. This
fixes 'test -e' command with exfat.

Fixes: b86a651b646c ("fs: exfat: Add U-Boot porting layer")
Signed-off-by: Marek Vasut <marex@denx.de>
fs/exfat/io.c