diff options
| author | Richard Genoud <[email protected]> | 2020-11-03 12:11:26 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2020-11-19 09:45:49 -0500 |
| commit | dd4866b43754b18f0c06672e341d93e16b8bf674 (patch) | |
| tree | c551b408e9b714348c1f4f34b14a23d4641021b8 /include | |
| parent | 21b1b3bad58b50e5464b1bf016e7c96bf18ddb8d (diff) | |
fs/squashfs: implement exists() function
This permits to find a file and use the distro_bootcmd
Reviewed-by: Joao Marcos Costa <[email protected]>
Signed-off-by: Richard Genoud <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/squashfs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/squashfs.h b/include/squashfs.h index 819cf8c2da8..7489eefa1f2 100644 --- a/include/squashfs.h +++ b/include/squashfs.h @@ -19,6 +19,7 @@ int sqfs_probe(struct blk_desc *fs_dev_desc, int sqfs_read(const char *filename, void *buf, loff_t offset, loff_t len, loff_t *actread); int sqfs_size(const char *filename, loff_t *size); +int sqfs_exists(const char *filename); void sqfs_close(void); void sqfs_closedir(struct fs_dir_stream *dirs); |
