]> git.dujemihanovic.xyz Git - u-boot.git/commit
fs/squashfs: fix board hang-up when calling .exists()
authorRichard Genoud <richard.genoud@posteo.net>
Tue, 3 Nov 2020 11:10:59 +0000 (12:10 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 19 Nov 2020 14:45:49 +0000 (09:45 -0500)
commit1b1e0c019588afc64a639b89fd0b6cd12534bce4
treeb7f24befd7e6bbf7be07829f5cfb55cb02bba7b3
parent4891c4e595b48ee41b7d8062bb599d05a938ea0a
fs/squashfs: fix board hang-up when calling .exists()

add missing squashfs function to prevent dangling or null pointers.
For exemple, when calling test [ -e somefile ], squashfs.exists may be
called.

Signed-off-by: Richard Genoud <richard.genoud@posteo.net>
Reviewed-by: Joao Marcos Costa <jmcosta944@gmail.com>
fs/fs.c