From 447669ac8b47d29a4b471bbd65996156b25c5551 Mon Sep 17 00:00:00 2001 From: adilger Date: Thu, 17 Oct 2002 09:06:24 +0000 Subject: [PATCH] Ensure that we get a valid rootino back to avoid polluting the inode hash. --- lustre/llite/super.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lustre/llite/super.c b/lustre/llite/super.c index 605696f..53c8015 100644 --- a/lustre/llite/super.c +++ b/lustre/llite/super.c @@ -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) { -- 1.8.3.1