ocfs2: clean up some osb fields
Get rid of osb->uuid, osb->proc_sub_dir, and osb->osb_id. Those fields were unused, or could easily be removed. As a result, we also no longer need MAX_OSB_ID or ocfs2_globals_lock. Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
此提交包含在:
@@ -784,8 +784,7 @@ int ocfs2_journal_load(struct ocfs2_journal *journal)
|
||||
}
|
||||
|
||||
/* Launch the commit thread */
|
||||
osb->commit_task = kthread_run(ocfs2_commit_thread, osb, "ocfs2cmt-%d",
|
||||
osb->osb_id);
|
||||
osb->commit_task = kthread_run(ocfs2_commit_thread, osb, "ocfs2cmt");
|
||||
if (IS_ERR(osb->commit_task)) {
|
||||
status = PTR_ERR(osb->commit_task);
|
||||
osb->commit_task = NULL;
|
||||
@@ -1118,7 +1117,7 @@ void ocfs2_recovery_thread(struct ocfs2_super *osb, int node_num)
|
||||
goto out;
|
||||
|
||||
osb->recovery_thread_task = kthread_run(__ocfs2_recovery_thread, osb,
|
||||
"ocfs2rec-%d", osb->osb_id);
|
||||
"ocfs2rec");
|
||||
if (IS_ERR(osb->recovery_thread_task)) {
|
||||
mlog_errno((int)PTR_ERR(osb->recovery_thread_task));
|
||||
osb->recovery_thread_task = NULL;
|
||||
|
新增問題並參考
封鎖使用者