ocfs2/dlm: cleanup redunant lksb flags in dlmcommon.h
lksb flags are defined both in dlmapi.h and dlmcommon.h. So clean them up from dlmcommon.h. Signed-off-by: Joseph Qi <joseph.qi@huawei.com> Reviewed-by: Jiufei Xue <xuejiufei@huawei.com> Cc: Mark Fasheh <mfasheh@suse.de> Cc: Joel Becker <jlbec@evilplan.org> Cc: Junxiao Bi <junxiao.bi@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Родитель
98e141f266
Коммит
3c973b0e71
|
@ -376,17 +376,6 @@ struct dlm_lock
|
||||||
lksb_kernel_allocated:1;
|
lksb_kernel_allocated:1;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#define DLM_LKSB_UNUSED1 0x01
|
|
||||||
#define DLM_LKSB_PUT_LVB 0x02
|
|
||||||
#define DLM_LKSB_GET_LVB 0x04
|
|
||||||
#define DLM_LKSB_UNUSED2 0x08
|
|
||||||
#define DLM_LKSB_UNUSED3 0x10
|
|
||||||
#define DLM_LKSB_UNUSED4 0x20
|
|
||||||
#define DLM_LKSB_UNUSED5 0x40
|
|
||||||
#define DLM_LKSB_UNUSED6 0x80
|
|
||||||
|
|
||||||
|
|
||||||
enum dlm_lockres_list {
|
enum dlm_lockres_list {
|
||||||
DLM_GRANTED_LIST = 0,
|
DLM_GRANTED_LIST = 0,
|
||||||
DLM_CONVERTING_LIST = 1,
|
DLM_CONVERTING_LIST = 1,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче