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:
a3d20bf
)
Branch HEAD
author
johann
<johann>
Tue, 25 Nov 2008 10:11:41 +0000
(10:11 +0000)
committer
johann
<johann>
Tue, 25 Nov 2008 10:11:41 +0000
(10:11 +0000)
i=umka
i=panda
b=17611
don't override lcm->lcm_name
lustre/ptlrpc/recov_thread.c
patch
|
blob
|
history
diff --git
a/lustre/ptlrpc/recov_thread.c
b/lustre/ptlrpc/recov_thread.c
index
48e5261
..
69aec83
100644
(file)
--- a/
lustre/ptlrpc/recov_thread.c
+++ b/
lustre/ptlrpc/recov_thread.c
@@
-473,7
+473,6
@@
struct llog_commit_master *llog_recov_thread_init(char *name)
snprintf(lcm->lcm_name, sizeof(lcm->lcm_name),
"ll_log_commit_%s", name);
- strncpy(lcm->lcm_name, name, sizeof(lcm->lcm_name));
atomic_set(&lcm->lcm_count, 0);
spin_lock_init(&lcm->lcm_lock);
CFS_INIT_LIST_HEAD(&lcm->lcm_llcds);