summaryrefslogtreecommitdiff
path: root/fs/fs.c
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2014-02-03 13:21:07 -0700
committerTom Rini <trini@ti.com>2014-02-19 09:47:34 -0500
commit0a30aa1e7e4e194ecc04c5970267bd6493db8eaf (patch)
tree32e0ce8519829a7e507efe0b7e842b469dc8c54d /fs/fs.c
parente5e897c01b1cd496187ca56a38ff5559d27f951c (diff)
downloadu-boot-0a30aa1e7e4e194ecc04c5970267bd6493db8eaf.tar.gz
sandbox: implement exists() function
This hooks into the generic "file exists" support added in an earlier patch, and provides an implementation for the sandbox test environment. 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 aaa6732a87..2e60f57bc4 100644
--- a/fs/fs.c
+++ b/fs/fs.c
@@ -114,7 +114,7 @@ static struct fstype_info fstypes[] = {
.probe = sandbox_fs_set_blk_dev,
.close = sandbox_fs_close,
.ls = sandbox_fs_ls,
- .exists = fs_exists_unsupported,
+ .exists = sandbox_fs_exists,
.read = fs_read_sandbox,
.write = fs_write_sandbox,
},