commit | cd72bc30d1e0846a7635f6b761dc8fcaddee7f97 | [log] [tgz] |
---|---|---|
author | Richard Genoud <richard.genoud@posteo.net> | Tue Nov 03 12:11:21 2020 +0100 |
committer | Tom Rini <trini@konsulko.com> | Thu Nov 19 09:45:49 2020 -0500 |
tree | b91c61e9fec8f2d295cc88f2e6d0227da2b5984b | |
parent | ac7c4db18099ddf942b52d2bf7b86ae6f06776b5 [diff] |
fs/squashfs: sqfs_probe: reset cur_dev/cur_part_info to NULL on error Resetting the context on error will prevent some checks like: if (!ctx.cur_dev) To pass when the probe method has failed Signed-off-by: Richard Genoud <richard.genoud@posteo.net>