dm era: check for a non-NULL metadata object before closing it
era_ctr() may call era_destroy() before era->md is initialized so era_destory() must only close the metadata object if it is not NULL. Signed-off-by: NJoe Thornber <ejt@redhat.com> Signed-off-by: NNaohiro Aota <naota@elisp.net> Signed-off-by: NMike Snitzer <snitzer@redhat.com> Cc: stable@vger.kernel.org # 3.15+
Showing
想要评论请 注册 或 登录