Whamcloud - gitweb
Branch HEAD
authorjohann <johann>
Tue, 25 Nov 2008 10:11:41 +0000 (10:11 +0000)
committerjohann <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

index 48e5261..69aec83 100644 (file)
@@ -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);