Whamcloud - gitweb
Ensure that we get a valid rootino back to avoid polluting the inode hash.
authoradilger <adilger>
Thu, 17 Oct 2002 09:06:24 +0000 (09:06 +0000)
committeradilger <adilger>
Thu, 17 Oct 2002 09:06:24 +0000 (09:06 +0000)
lustre/llite/super.c

index 605696f..53c8015 100644 (file)
@@ -212,6 +212,7 @@ static struct super_block * ll_read_super(struct super_block *sb,
 
         lic.lic_body = lustre_msg_buf(request->rq_repmsg, 0);
         lic.lic_lmm = NULL;
+        LASSERT(sbi->ll_rootino != 0);
         root = iget4(sb, sbi->ll_rootino, NULL, &lic);
 
         if (root) {