diff options
author | Stephen Warren | 2014-02-03 13:21:10 -0700 |
---|---|---|
committer | Tom Rini | 2014-02-19 09:47:34 -0500 |
commit | b7b5f3195fa5a31ab1505e0c87054dc6dc71627b (patch) | |
tree | 575752ba9711f80028817ee6ac1efd2f404f4452 /fs/fs.c | |
parent | 55af5c9313607f3b6acba2fd915b263ef6a61dd4 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, }, |