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/dlm_device.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/dlm_device.h')
-rw-r--r-- | include/linux/dlm_device.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/dlm_device.h b/include/linux/dlm_device.h index 9642277a152a..dcfd2499902f 100644 --- a/include/linux/dlm_device.h +++ b/include/linux/dlm_device.h | |||
@@ -94,9 +94,6 @@ struct dlm_lock_result { | |||
94 | #define DLM_USER_PURGE 6 | 94 | #define DLM_USER_PURGE 6 |
95 | #define DLM_USER_DEADLOCK 7 | 95 | #define DLM_USER_DEADLOCK 7 |
96 | 96 | ||
97 | /* Arbitrary length restriction */ | ||
98 | #define MAX_LS_NAME_LEN 64 | ||
99 | |||
100 | /* Lockspace flags */ | 97 | /* Lockspace flags */ |
101 | #define DLM_USER_LSFLG_AUTOFREE 1 | 98 | #define DLM_USER_LSFLG_AUTOFREE 1 |
102 | #define DLM_USER_LSFLG_FORCEFREE 2 | 99 | #define DLM_USER_LSFLG_FORCEFREE 2 |