]> git.baikalelectronics.ru Git - uboot.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)
commite6c1719593198d7ccbb874493c9bceb61df1982f
treeb7f24befd7e6bbf7be07829f5cfb55cb02bba7b3
parente15be55253fd6384797f8fc7eb23b78dc82c7356
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