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:
46cd5b6
)
add an assert, from alex.
author
ericm
<ericm>
Fri, 16 Sep 2005 00:14:21 +0000
(
00:14
+0000)
committer
ericm
<ericm>
Fri, 16 Sep 2005 00:14:21 +0000
(
00:14
+0000)
lustre/llite/llite_lib.c
patch
|
blob
|
history
diff --git
a/lustre/llite/llite_lib.c
b/lustre/llite/llite_lib.c
index
2b5ff01
..
d0ca61d
100644
(file)
--- a/
lustre/llite/llite_lib.c
+++ b/
lustre/llite/llite_lib.c
@@
-1211,6
+1211,8
@@
void ll_clear_inode(struct inode *inode)
list_for_each_entry_safe(ocapa, tmp, &lli->lli_capas, u.client.lli_list)
capa_put(ocapa);
+ LASSERT(!mapping_has_pages(inode->i_mapping));
+
lli->lli_inode_magic = LLI_INODE_DEAD;
EXIT;
}