fs-ocfs-remove-unnecessary-assertion-in-dlm_migrate_lockres.patch removed from -mm tree
The patch titled
Subject: fs: ocfs: remove unnecessary assertion in dlm_migrate_lockres
has been removed from the -mm tree. Its filename was
fs-ocfs-remove-unnecessary-assertion-in-dlm_migrate_lockres.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Aditya Pakki <[email protected]>
Subject: fs: ocfs: remove unnecessary assertion in dlm_migrate_lockres
In the only caller of dlm_migrate_lockres() - dlm_empty_lockres(), target is checked for O2NM_MAX_NODES. Thus, the assertion in dlm_migrate_lockres() is unnecessary and can be removed. The patch eliminates such a check.
Signed-off-by Aditya Pakki <[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/dlm/dlmmaster.c | 2 -- 1 file changed, 2 deletions(-)
fs/ocfs2/dlm/dlmmaster.c renamed from fs/ocfs2/dlm/dlmmaster.c~fs-ocfs-remove-unnecessary-assertion-in-dlm_migrate_lockres +0 -1
@@ -2554,8 +2554,6 @@ static int dlm_migrate_lockres(struct dlif (!dlm_grab (dlm))return -EINVAL ; -BUG_ON (target ==O2NM_MAX_NODES );