[PATCH 6.11 748/817] smb: prevent use-after-free due to open_cached_dir error paths