mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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:
parent
2402211a83
commit
3d564fa347
4 changed files with 4 additions and 9 deletions
|
@ -18,6 +18,10 @@
|
|||
* Constants used by DLM interface.
|
||||
*/
|
||||
|
||||
#define DLM_LOCKSPACE_LEN 64
|
||||
#define DLM_RESNAME_MAXLEN 64
|
||||
|
||||
|
||||
/*
|
||||
* Lock Modes
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue