Whamcloud - gitweb
- fix connection find on OST
authorbraam <braam>
Wed, 27 Feb 2002 10:16:11 +0000 (10:16 +0000)
committerbraam <braam>
Wed, 27 Feb 2002 10:16:11 +0000 (10:16 +0000)
lustre/llite/super.c

index 754fba0..f2b171c 100644 (file)
@@ -198,9 +198,9 @@ ERR:
 
 static void ll_put_super(struct super_block *sb)
 {
+       struct ll_sb_info *sbi = sb->u.generic_sbp;
         ENTRY;
-
-        obd_disconnect(ID(sb));
+        obd_disconnect(&sbi->ll_conn);
        OBD_FREE(sb->u.generic_sbp, sizeof(struct ll_sb_info));
         MOD_DEC_USE_COUNT;
         EXIT;