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>
Showing
Please register or sign in to comment