diff options
author | David Teigland <teigland@redhat.com> | 2008-04-14 15:06:29 -0400 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2008-04-21 12:22:29 -0400 |
commit | 3d564fa3472d36cd6aa70514c37b8bbbec5b17ab (patch) | |
tree | 1033829746e0440e3b603381b9ed640a0af1ec2a /include/linux/dlmconstants.h | |
parent | 2402211a8389282fd2942fad4511f02c0eeeffc5 (diff) |
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>
Diffstat (limited to 'include/linux/dlmconstants.h')
-rw-r--r-- | include/linux/dlmconstants.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/dlmconstants.h b/include/linux/dlmconstants.h index fddb3d3ff321..47bf08dc7566 100644 --- a/include/linux/dlmconstants.h +++ b/include/linux/dlmconstants.h | |||
@@ -18,6 +18,10 @@ | |||
18 | * Constants used by DLM interface. | 18 | * Constants used by DLM interface. |
19 | */ | 19 | */ |
20 | 20 | ||
21 | #define DLM_LOCKSPACE_LEN 64 | ||
22 | #define DLM_RESNAME_MAXLEN 64 | ||
23 | |||
24 | |||
21 | /* | 25 | /* |
22 | * Lock Modes | 26 | * Lock Modes |
23 | */ | 27 | */ |