summaryrefslogtreecommitdiff
path: root/fs/fs.c
diff options
context:
space:
mode:
authorRichard Genoud <richard.genoud@posteo.net>2020-11-03 14:11:26 +0300
committerTom Rini <trini@konsulko.com>2020-11-19 17:45:49 +0300
commitdd4866b43754b18f0c06672e341d93e16b8bf674 (patch)
treec551b408e9b714348c1f4f34b14a23d4641021b8 /fs/fs.c
parent21b1b3bad58b50e5464b1bf016e7c96bf18ddb8d (diff)
downloadu-boot-dd4866b43754b18f0c06672e341d93e16b8bf674.tar.xz
fs/squashfs: implement exists() function
This permits to find a file and use the distro_bootcmd Reviewed-by: Joao Marcos Costa <jmcosta944@gmail.com> Signed-off-by: Richard Genoud <richard.genoud@posteo.net>
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 fb27c910d4..7a4020607a 100644
--- a/fs/fs.c
+++ b/fs/fs.c
@@ -296,7 +296,7 @@ static struct fstype_info fstypes[] = {
.size = sqfs_size,
.close = sqfs_close,
.closedir = sqfs_closedir,
- .exists = fs_exists_unsupported,
+ .exists = sqfs_exists,
.uuid = fs_uuid_unsupported,
.write = fs_write_unsupported,
.ln = fs_ln_unsupported,