ocfs2/dlm: Remove struct dlm_lock_name in struct dlm_master_list_entry
authorSunil Mushran <sunil.mushran@oracle.com>
Thu, 26 Feb 2009 23:00:47 +0000 (15:00 -0800)
committerMark Fasheh <mfasheh@suse.com>
Fri, 3 Apr 2009 18:39:23 +0000 (11:39 -0700)
commit7141514b8307734c117f100c4a3637887c5def45
tree8f2944508cdb0dd1ea7288d7300e4c29995c904e
parente64ff14607ac90b2f3349550a41cc8dc0c0b1324
ocfs2/dlm: Remove struct dlm_lock_name in struct dlm_master_list_entry

This patch removes struct dlm_lock_name and adds the entries directly
to struct dlm_master_list_entry. Under the new scheme, both mles that
are backed by a lockres or not, will have the name populated in mle->mname.
This allows us to get rid of code that was figuring out the location of
the mle name.

Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/dlm/dlmcommon.h
fs/ocfs2/dlm/dlmdebug.c
fs/ocfs2/dlm/dlmmaster.c