ocfs2-remove-unused-macros.patch removed from -mm tree
The patch titled
Subject: ocfs2: remove unused macros
has been removed from the -mm tree. Its filename was
ocfs2-remove-unused-macros.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Alex Shi <[email protected]>
Subject: ocfs2: remove unused macros
O2HB_DEFAULT_BLOCK_BITS/DLM_THREAD_MAX_ASTS/DLM_MIGRATION_RETRY_MS and OCFS2_MAX_RESV_WINDOW_BITS/OCFS2_MIN_RESV_WINDOW_BITS have been unused since commit 66effd3c6812 ("ocfs2/dlm: Do not migrate resource to a node that is leaving the domain").
Signed-off-by Alex Shi <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Cc ChenGang <[email protected]>
Cc Thomas Gleixner <[email protected]>
Cc Richard Fontana <[email protected]>
Cc Mark Fasheh <[email protected]>
Cc Joel Becker <[email protected]>
Cc Junxiao Bi <[email protected]>
Cc Joseph Qi <[email protected]>
Cc Changwei Ge <[email protected]>
Cc Gang He <[email protected]>
Cc Jun Piao <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
fs/ocfs2/cluster/heartbeat.c | 2 -- fs/ocfs2/dlm/dlmmaster.c | 2 -- fs/ocfs2/dlm/dlmthread.c | 1 - fs/ocfs2/reservations.c | 3 --- 4 files changed, 8 deletions(-)
fs/ocfs2/cluster/heartbeat.c renamed from fs/ocfs2/cluster/heartbeat.c~ocfs2-remove-unused-macros +0 -2
@@ -101,8 +101,6 @@ static struct o2hb_callback {static struct o2hb_callback *hbcall_from_type (enum o2hb_callback_type type); -#define O2HB_DEFAULT_BLOCK_BITS 9 -enum o2hb_heartbeat_modes {O2HB_HEARTBEAT_LOCAL =0 ,O2HB_HEARTBEAT_GLOBAL ,
fs/ocfs2/dlm/dlmmaster.c renamed from fs/ocfs2/dlm/dlmmaster.c~ocfs2-remove-unused-macros +0 -2
@@ -2749,8 +2749,6 @@ leave:return ret; } -#define DLM_MIGRATION_RETRY_MS 100 -/* * Should be called only after beginning the domain leave process. * There should not be any remaining locks on nonlocal lock resources,
fs/ocfs2/dlm/dlmthread.c renamed from fs/ocfs2/dlm/dlmthread.c~ocfs2-remove-unused-macros +0 -1
@@ -680,7 +680,6 @@ static void dlm_flush_asts(struct dlm_ct#define DLM_THREAD_TIMEOUT_MS (4 * 1000)#define DLM_THREAD_MAX_DIRTY 100 -#define DLM_THREAD_MAX_ASTS 10static int dlm_thread (void *data) {
fs/ocfs2/reservations.c renamed from fs/ocfs2/reservations.c~ocfs2-remove-unused-macros +0 -2
@@ -33,9 +33,6 @@static DEFINE_SPINLOCK (resv_lock); -#define OCFS2_MIN_RESV_WINDOW_BITS 8 -#define OCFS2_MAX_RESV_WINDOW_BITS 1024