summaryrefslogtreecommitdiff
path: root/env/nvram.c
diff options
context:
space:
mode:
authorRichard Genoud <richard.genoud@posteo.net>2020-11-03 12:11:21 +0100
committerTom Rini <trini@konsulko.com>2020-11-19 09:45:49 -0500
commit56cf1ceee38435a0c105d40336d12d19e1db8b1d (patch)
treeb91c61e9fec8f2d295cc88f2e6d0227da2b5984b /env/nvram.c
parentccd4c08a452b3703ee16ba730a84b7caadcff97a (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>
Diffstat (limited to 'env/nvram.c')
0 files changed, 0 insertions, 0 deletions