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
(from parent 1:
e7fc331
)
drop truncate capa after ll_truncate.
author
lsy
<lsy>
Wed, 21 Sep 2005 17:46:04 +0000
(17:46 +0000)
committer
lsy
<lsy>
Wed, 21 Sep 2005 17:46:04 +0000
(17:46 +0000)
lustre/llite/rw.c
patch
|
blob
|
history
diff --git
a/lustre/llite/rw.c
b/lustre/llite/rw.c
index
25769e9
..
7b42ffd
100644
(file)
--- a/
lustre/llite/rw.c
+++ b/
lustre/llite/rw.c
@@
-174,6
+174,7
@@
void ll_truncate(struct inode *inode)
rc = obd_punch(ll_i2dtexp(inode), oa, lsm, inode->i_size,
OBD_OBJECT_EOF, NULL, capa);
+ capa_put(ocapa);
if (rc)
CERROR("obd_truncate fails (%d) ino %lu\n", rc, inode->i_ino);
else