summaryrefslogtreecommitdiff
path: root/fs/fs.c
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2014-02-03 13:21:09 -0700
committerTom Rini <trini@ti.com>2014-02-19 09:47:34 -0500
commit55af5c9313607f3b6acba2fd915b263ef6a61dd4 (patch)
tree95dd692ed9c7c22357c77e2315cb92cd235f8dc3 /fs/fs.c
parent89ba42d18303d06d49ca14de2d46c82bbdcad06c (diff)
downloadu-boot-imx-55af5c9313607f3b6acba2fd915b263ef6a61dd4.zip
u-boot-imx-55af5c9313607f3b6acba2fd915b263ef6a61dd4.tar.gz
u-boot-imx-55af5c9313607f3b6acba2fd915b263ef6a61dd4.tar.bz2
ext4: implement exists() for ext4fs
This hooks into the generic "file exists" support added in an earlier patch, and provides an implementation for the ext4 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 2e60f57..4e9b162 100644
--- a/fs/fs.c
+++ b/fs/fs.c
@@ -102,7 +102,7 @@ static struct fstype_info fstypes[] = {
.probe = ext4fs_probe,
.close = ext4fs_close,
.ls = ext4fs_ls,
- .exists = fs_exists_unsupported,
+ .exists = ext4fs_exists,
.read = ext4_read_file,
.write = fs_write_unsupported,
},