summaryrefslogtreecommitdiff
path: root/include/ext4fs.h
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 /include/ext4fs.h
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 'include/ext4fs.h')
-rw-r--r--include/ext4fs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ext4fs.h b/include/ext4fs.h
index 2429380..aacb147 100644
--- a/include/ext4fs.h
+++ b/include/ext4fs.h
@@ -134,6 +134,7 @@ int ext4fs_read(char *buf, unsigned len);
int ext4fs_mount(unsigned part_length);
void ext4fs_close(void);
int ext4fs_ls(const char *dirname);
+int ext4fs_exists(const char *filename);
void ext4fs_free_node(struct ext2fs_node *node, struct ext2fs_node *currroot);
int ext4fs_devread(lbaint_t sector, int byte_offset, int byte_len, char *buf);
void ext4fs_set_blk_dev(block_dev_desc_t *rbdd, disk_partition_t *info);