* [Ocfs2-devel] [PATCH] ocfs2/dlm: clean up unused stack variable in dlm_do_local_ast()
@ 2018-04-10 11:49 Changwei Ge
2018-04-11 0:42 ` piaojun
0 siblings, 1 reply; 3+ messages in thread
From: Changwei Ge @ 2018-04-10 11:49 UTC (permalink / raw)
To: ocfs2-devel
Signed-off-by: Changwei Ge <ge.changwei@h3c.com>
---
fs/ocfs2/dlm/dlmast.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/fs/ocfs2/dlm/dlmast.c b/fs/ocfs2/dlm/dlmast.c
index fd6bbbb..39831fc 100644
--- a/fs/ocfs2/dlm/dlmast.c
+++ b/fs/ocfs2/dlm/dlmast.c
@@ -224,14 +224,12 @@ void dlm_do_local_ast(struct dlm_ctxt *dlm, struct dlm_lock_resource *res,
struct dlm_lock *lock)
{
dlm_astlockfunc_t *fn;
- struct dlm_lockstatus *lksb;
mlog(0, "%s: res %.*s, lock %u:%llu, Local AST\n", dlm->name,
res->lockname.len, res->lockname.name,
dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)),
dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie)));
- lksb = lock->lksb;
fn = lock->ast;
BUG_ON(lock->ml.node != dlm->node_num);
--
2.7.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Ocfs2-devel] [PATCH] ocfs2/dlm: clean up unused stack variable in dlm_do_local_ast()
2018-04-10 11:49 [Ocfs2-devel] [PATCH] ocfs2/dlm: clean up unused stack variable in dlm_do_local_ast() Changwei Ge
@ 2018-04-11 0:42 ` piaojun
2018-04-11 1:04 ` Changwei Ge
0 siblings, 1 reply; 3+ messages in thread
From: piaojun @ 2018-04-11 0:42 UTC (permalink / raw)
To: ocfs2-devel
Hi Changwei,
This patch had been merged into mainline already.
Please see patch a43d24cb3b0b.
thanks,
Jun
On 2018/4/10 19:49, Changwei Ge wrote:
> Signed-off-by: Changwei Ge <ge.changwei@h3c.com>
> ---
> fs/ocfs2/dlm/dlmast.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/fs/ocfs2/dlm/dlmast.c b/fs/ocfs2/dlm/dlmast.c
> index fd6bbbb..39831fc 100644
> --- a/fs/ocfs2/dlm/dlmast.c
> +++ b/fs/ocfs2/dlm/dlmast.c
> @@ -224,14 +224,12 @@ void dlm_do_local_ast(struct dlm_ctxt *dlm, struct dlm_lock_resource *res,
> struct dlm_lock *lock)
> {
> dlm_astlockfunc_t *fn;
> - struct dlm_lockstatus *lksb;
>
> mlog(0, "%s: res %.*s, lock %u:%llu, Local AST\n", dlm->name,
> res->lockname.len, res->lockname.name,
> dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)),
> dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie)));
>
> - lksb = lock->lksb;
> fn = lock->ast;
> BUG_ON(lock->ml.node != dlm->node_num);
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Ocfs2-devel] [PATCH] ocfs2/dlm: clean up unused stack variable in dlm_do_local_ast()
2018-04-11 0:42 ` piaojun
@ 2018-04-11 1:04 ` Changwei Ge
0 siblings, 0 replies; 3+ messages in thread
From: Changwei Ge @ 2018-04-11 1:04 UTC (permalink / raw)
To: ocfs2-devel
Hi Jun,
On 2018/4/11 8:43, piaojun wrote:
> Hi Changwei,
>
> This patch had been merged into mainline already.
>
> Please see patch a43d24cb3b0b.
Oops, I forgot to rebase my tree... :(
Thanks for your reminder.
Changwei
>
> thanks,
> Jun
>
> On 2018/4/10 19:49, Changwei Ge wrote:
>> Signed-off-by: Changwei Ge <ge.changwei@h3c.com>
>> ---
>> fs/ocfs2/dlm/dlmast.c | 2 --
>> 1 file changed, 2 deletions(-)
>>
>> diff --git a/fs/ocfs2/dlm/dlmast.c b/fs/ocfs2/dlm/dlmast.c
>> index fd6bbbb..39831fc 100644
>> --- a/fs/ocfs2/dlm/dlmast.c
>> +++ b/fs/ocfs2/dlm/dlmast.c
>> @@ -224,14 +224,12 @@ void dlm_do_local_ast(struct dlm_ctxt *dlm, struct dlm_lock_resource *res,
>> struct dlm_lock *lock)
>> {
>> dlm_astlockfunc_t *fn;
>> - struct dlm_lockstatus *lksb;
>>
>> mlog(0, "%s: res %.*s, lock %u:%llu, Local AST\n", dlm->name,
>> res->lockname.len, res->lockname.name,
>> dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)),
>> dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie)));
>>
>> - lksb = lock->lksb;
>> fn = lock->ast;
>> BUG_ON(lock->ml.node != dlm->node_num);
>>
>>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-04-11 1:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-10 11:49 [Ocfs2-devel] [PATCH] ocfs2/dlm: clean up unused stack variable in dlm_do_local_ast() Changwei Ge
2018-04-11 0:42 ` piaojun
2018-04-11 1:04 ` Changwei Ge
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.