mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 08:23:17 +00:00
ovl_free_fs() dereferences ofs->workbasedir and ofs->upper_mnt in cases when those might not have been initialized yet. Fix the initialization order for these fields. Reported-by: [email protected] Signed-off-by: Miklos Szeredi <[email protected]> Cc: <[email protected]> # v4.15 Fixes:95e6d4177c("ovl: grab reference to workbasedir early") Fixes:a9075cdb46("ovl: factor out ovl_free_fs() helper")