dlm: common max length definitions
Add central definitions for max lockspace name length and max resource name length. The lack of central definitions has resulted in scattered private definitions which we can now clean up, including an unused one in dlm_device.h. Signed-off-by: David Teigland <teigland@redhat.com>
This commit is contained in:
@@ -94,9 +94,6 @@ struct dlm_lock_result {
|
||||
#define DLM_USER_PURGE 6
|
||||
#define DLM_USER_DEADLOCK 7
|
||||
|
||||
/* Arbitrary length restriction */
|
||||
#define MAX_LS_NAME_LEN 64
|
||||
|
||||
/* Lockspace flags */
|
||||
#define DLM_USER_LSFLG_AUTOFREE 1
|
||||
#define DLM_USER_LSFLG_FORCEFREE 2
|
||||
|
Reference in New Issue
Block a user