Whamcloud - gitweb
fix small typo in last commit.
authorshadow <shadow>
Fri, 14 Sep 2007 17:42:58 +0000 (17:42 +0000)
committershadow <shadow>
Fri, 14 Sep 2007 17:42:58 +0000 (17:42 +0000)
b=13304

lustre/obdclass/obd_mount.c

index a5a7b97..f2c00c4 100644 (file)
@@ -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);