Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4d606f
)
Ensure that we get a valid rootino back to avoid polluting the inode hash.
author
adilger
<adilger>
Thu, 17 Oct 2002 09:06:24 +0000
(09:06 +0000)
committer
adilger
<adilger>
Thu, 17 Oct 2002 09:06:24 +0000
(09:06 +0000)
lustre/llite/super.c
patch
|
blob
|
history
diff --git
a/lustre/llite/super.c
b/lustre/llite/super.c
index
605696f
..
53c8015
100644
(file)
--- 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) {