Whamcloud - gitweb
- obd_disconnect(sbi->ll_dt_exp) clears namespace and lets inodes go, we
[fs/lustre-release.git] / lustre / llite / llite_gs.c
index 8b145e4..d1b0ba5 100644 (file)
@@ -749,7 +749,9 @@ int lustre_destroy_crypto(struct super_block *sb)
                 obd_disconnect(llci->ll_gt_exp, 0);
  
         ll_unregister_cops(llci);
-        OBD_FREE(llci, sizeof(*llci)); 
+        OBD_FREE(llci, sizeof(*llci));
+        ll_s2sbi(sb)->ll_crypto_info = NULL;
+
         RETURN(0);
 }