diff --git a/lustre/obdclass/obd_mount.c b/lustre/obdclass/obd_mount.c index a5a7b97430fdff39021f0c2c0d7dc7f23c8cf7dc..f2c00c4a06072389e57ed9b3516268dd8f7b1f9d 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);