From: adilger Date: Thu, 17 Oct 2002 09:06:24 +0000 (+0000) Subject: Ensure that we get a valid rootino back to avoid polluting the inode hash. X-Git-Tag: 0.5.15~100 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=447669ac8b47d29a4b471bbd65996156b25c5551;p=fs%2Flustre-release.git Ensure that we get a valid rootino back to avoid polluting the inode hash. --- 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) {