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:
3e410cd
)
revert part of last change.
author
lsy
<lsy>
Fri, 16 Sep 2005 10:27:13 +0000
(10:27 +0000)
committer
lsy
<lsy>
Fri, 16 Sep 2005 10:27:13 +0000
(10:27 +0000)
lustre/llite/llite_capa.c
patch
|
blob
|
history
diff --git
a/lustre/llite/llite_capa.c
b/lustre/llite/llite_capa.c
index
299097f
..
aeb7a32
100644
(file)
--- a/
lustre/llite/llite_capa.c
+++ b/
lustre/llite/llite_capa.c
@@
-120,7
+120,7
@@
static int ll_capa_thread(void *arg)
while (1) {
struct l_wait_info lwi = { 0 };
- struct obd_capa *ocapa, *tmp, *next = NULL;
+ struct obd_capa *ocapa,
tcapa,
*tmp, *next = NULL;
unsigned long expiry, sleep = CAPA_PRE_EXPIRY;
struct inode *inode;
@@
-143,9
+143,11
@@
static int ll_capa_thread(void *arg)
inode = igrab(ocapa->c_inode);
if (inode == NULL)
continue;
+
+ tcapa = *ocapa;
spin_unlock(&capa_lock);
- rc = ll_renew_capa(
o
capa);
+ rc = ll_renew_capa(
&t
capa);
iput(inode);
if (rc)