mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 17:02:17 +00:00
On failure to parse parameters in ovl_parse_param_lowerdir(), it is
necessary to update ctx->nr with the correct nr before using
ovl_reset_lowerdirs() to release l->name.
Reported-and-tested-by: [email protected]
Fixes: c835110b58 ("ovl: remove unused code in lowerdir param parsing")
Co-authored-by: Edward Adam Davis <[email protected]>
Signed-off-by: Amir Goldstein <[email protected]>