Re: [PATCH] OCFS2: remove unused macros

From: Alex Shi
Date: Tue Feb 04 2020 - 06:08:12 EST




å 2020/1/26 äå9:43, Joseph Qi åé:
>
>
> On 20/1/21 11:37, Alex Shi wrote:
>> O2HB_DEFAULT_BLOCK_BITS/DLM_THREAD_MAX_ASTS/DLM_MIGRATION_RETRY_MS and
>> OCFS2_MAX_RESV_WINDOW_BITS/OCFS2_MIN_RESV_WINDOW_BITS are
>> never used from they were introduced to kernel. so better to remove
>> them.
>>
>>
>> -#define DLM_MIGRATION_RETRY_MS 100
>> -
> It is no longer used since commit 66effd3c6812 ("ocfs2/dlm: Do not
> migrate resource to a node that is leaving the domain").

Thanks for point out. how about the following revised patch?

Since a trival patch don't need much reviewer, I removed some Ccs.

Thanks
Alex

---