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:
7c22d97
)
Branch HEAD
author
vitaly
<vitaly>
Wed, 2 Apr 2008 18:55:37 +0000
(18:55 +0000)
committer
vitaly
<vitaly>
Wed, 2 Apr 2008 18:55:37 +0000
(18:55 +0000)
b=14948
i=green
i=shadow
2.6.18 calls truncate_inode_pages() only if op->delete_inode() is
not installed, whereas 2.6.9 calls it in both cases.
lustre/llite/llite_lib.c
patch
|
blob
|
history
diff --git
a/lustre/llite/llite_lib.c
b/lustre/llite/llite_lib.c
index
43651c6
..
0fd008c
100644
(file)
--- a/
lustre/llite/llite_lib.c
+++ b/
lustre/llite/llite_lib.c
@@
-1818,6
+1818,7
@@
void ll_delete_inode(struct inode *inode)
if (rc) {
CERROR("fid_delete() failed, rc %d\n", rc);
}
+ truncate_inode_pages(&inode->i_data, 0);
clear_inode(inode);
EXIT;