summaryrefslogtreecommitdiffstats
path: root/fs/dlm
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2008-04-14 14:06:29 -0500
committerDavid Teigland <teigland@redhat.com>2008-04-21 11:22:29 -0500
commit3d564fa3472d36cd6aa70514c37b8bbbec5b17ab (patch)
tree1033829746e0440e3b603381b9ed640a0af1ec2a /fs/dlm
parent2402211a8389282fd2942fad4511f02c0eeeffc5 (diff)
downloadlinux-3d564fa3472d36cd6aa70514c37b8bbbec5b17ab.tar.bz2
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 'fs/dlm')
-rw-r--r--fs/dlm/dlm_internal.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/dlm/dlm_internal.h b/fs/dlm/dlm_internal.h
index caa1581e158f..73c36f501707 100644
--- a/fs/dlm/dlm_internal.h
+++ b/fs/dlm/dlm_internal.h
@@ -43,8 +43,6 @@
#include <linux/dlm.h>
#include "config.h"
-#define DLM_LOCKSPACE_LEN 64
-
/* Size of the temp buffer midcomms allocates on the stack.
We try to make this large enough so most messages fit.
FIXME: should sctp make this unnecessary? */