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:
eea7b1d
)
b=16774
author
zhanghc
<zhanghc>
Tue, 29 Sep 2009 07:52:16 +0000
(07:52 +0000)
committer
zhanghc
<zhanghc>
Tue, 29 Sep 2009 07:52:16 +0000
(07:52 +0000)
fix a bug in original patch for the bug
i=oleg.drokin@sun.com
lustre/osc/cache.c
patch
|
blob
|
history
diff --git
a/lustre/osc/cache.c
b/lustre/osc/cache.c
index
f8a89a4
..
119a2ca
100644
(file)
--- a/
lustre/osc/cache.c
+++ b/
lustre/osc/cache.c
@@
-108,6
+108,7
@@
int cache_add_extent(struct lustre_cache *cache, struct ldlm_res_id *res,
lock->l_policy_data.l_extent.start,
lock->l_policy_data.l_extent.end,
extent->oap_obj_off);
+ LDLM_LOCK_PUT(lock);
RETURN(-ENOLCK);
}
} else {