From 33caad07d242a18e211661dcf0bcb0abf61dcfc4 Mon Sep 17 00:00:00 2001
From: shadow <shadow>
Date: Fri, 14 Sep 2007 17:42:58 +0000
Subject: [PATCH] fix small typo in last commit. b=13304

---
 lustre/obdclass/obd_mount.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lustre/obdclass/obd_mount.c b/lustre/obdclass/obd_mount.c
index a5a7b97430..f2c00c4a06 100644
--- a/lustre/obdclass/obd_mount.c
+++ b/lustre/obdclass/obd_mount.c
@@ -1979,7 +1979,7 @@ void lustre_kill_super(struct super_block *sb)
 {
         struct lustre_sb_info *lsi = s2lsi(sb);
 
-        if (kill_super_cb && !(lsi->lsi_flags & LSI_SERVER))
+        if (kill_super_cb && lsi && !(lsi->lsi_flags & LSI_SERVER))
                 (*kill_super_cb)(sb);
 
         kill_anon_super(sb);
-- 
GitLab