X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fdlm_device.h;h=c6034508fed9a3c1e795f27a8ef188e6452db834;hb=252815b0cfe711001eff0327872209986b36d490;hp=9642277a152a2d3d764317d03400a53d2f5eae94;hpb=0cdf6990e992902ae59cbc625d28cb41390f378e;p=linux-2.6 diff --git a/include/linux/dlm_device.h b/include/linux/dlm_device.h index 9642277a15..c6034508fe 100644 --- a/include/linux/dlm_device.h +++ b/include/linux/dlm_device.h @@ -11,10 +11,16 @@ ******************************************************************************* ******************************************************************************/ +#ifndef _LINUX_DLM_DEVICE_H +#define _LINUX_DLM_DEVICE_H + /* This is the device interface for dlm, most users will use a library * interface. */ +#include +#include + #define DLM_USER_LVB_LEN 32 /* Version of the device interface */ @@ -94,10 +100,9 @@ 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 +#endif +