465abe8a7a
commit de3f64b738af57e2732b91a0774facc675b75b54 upstream.
If an load_nls_xxx() function fails a few lines above, the 'sbi->bdi_id' is
still 0.
So, in the error handling path, we will call ida_simple_remove(..., 0)
which is not allocated yet.
In order to prevent a spurious "ida_free called for id=0 which is not
allocated." message, tweak the error handling path and add a new label.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
dir.c | ||
file.c | ||
shfl_hostintf.h | ||
super.c | ||
utils.c | ||
vboxsf_wrappers.c | ||
vfsmod.h |