[Ocfs2-devel] [PATCH] ocfs2: remove bogus check in dlm_process_recovery_data

Mark Fasheh mfasheh at suse.de
Thu Dec 18 17:01:04 PST 2014


On Wed, Dec 17, 2014 at 08:50:31AM +0800, Joseph Qi wrote:
> In dlm_process_recovery_data, only when dlm_new_lock failed the ret
> will be set to -ENOMEM. And in this case, newlock is definitely NULL.
> So test newlock is meaningless, remove it.
> 
> Signed-off-by: Joseph Qi <joseph.qi at huawei.com>
> Reviewed-by: Alex Chen <alex.chen at huawei.com>

Reviewed-by: Mark Fasheh <mfasheh at suse.de>
	--Mark

--
Mark Fasheh



More information about the Ocfs2-devel mailing list