aboutsummaryrefslogtreecommitdiff
path: root/fs/fs.c
diff options
context:
space:
mode:
authorStephen Warren2014-02-03 13:21:10 -0700
committerTom Rini2014-02-19 09:47:34 -0500
commitb7b5f3195fa5a31ab1505e0c87054dc6dc71627b (patch)
tree575752ba9711f80028817ee6ac1efd2f404f4452 /fs/fs.c
parent55af5c9313607f3b6acba2fd915b263ef6a61dd4 (diff)
fat: implement exists() for FAT fs
This hooks into the generic "file exists" support added in an earlier patch, and provides an implementation for the FAT filesystem. Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'fs/fs.c')
-rw-r--r--fs/fs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fs.c b/fs/fs.c
index 4e9b162d49f..79d432d58fe 100644
--- a/fs/fs.c
+++ b/fs/fs.c
@@ -90,7 +90,7 @@ static struct fstype_info fstypes[] = {
.probe = fat_set_blk_dev,
.close = fat_close,
.ls = file_fat_ls,
- .exists = fs_exists_unsupported,
+ .exists = fat_exists,
.read = fat_read_file,
.write = fs_write_unsupported,
},