1 From: Coly Li <coly.li@suse.de>
2 Author: Arnd Bergmann <arnd@arndb.de>
3 Date: Thu Feb 26 00:51:40 2009 +0100
4 Subject: make most exported headers use strict integer types
6 This takes care of all files that have only a small number
7 of non-strict integer type uses.
9 Signed-off-by: Arnd Bergmann <arnd@arndb.de>
10 Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
11 Cc: David Airlie <airlied@linux.ie>
12 Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
13 Cc: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
14 Cc: netdev@vger.kernel.org
15 Cc: linux-ppp@vger.kernel.org
16 Cc: Jaroslav Kysela <perex@perex.cz>
17 Cc: Takashi Iwai <tiwai@suse.de>
18 Cc: David Woodhouse <dwmw2@infradead.org>
19 Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
20 Signed-off-by: Ingo Molnar <mingo@elte.hu>
22 This patch is part of commit 9adfbfb611307060db54691bc7e6d53fdc12312b.
23 The original patch touches too many files which are unnecessary for dlm
24 fix, therefore I only the dlm related part.
26 Signed-off-by: Coly Li <coly.li@suse.de>
28 diff --git a/include/linux/dlm_netlink.h b/include/linux/dlm_netlink.h
29 index 1927633..647c8ef 100644
30 --- a/include/linux/dlm_netlink.h
31 +++ b/include/linux/dlm_netlink.h
33 #ifndef _DLM_NETLINK_H
34 #define _DLM_NETLINK_H
36 +#include <linux/types.h>
39 DLM_STATUS_WAITING = 1,
40 DLM_STATUS_GRANTED = 2,
41 @@ -18,16 +20,16 @@ enum {
42 #define DLM_LOCK_DATA_VERSION 1
44 struct dlm_lock_data {
46 - uint32_t lockspace_id;
63 unsigned long timestamp;
65 char resource_name[DLM_RESNAME_MAXLEN];