[PATCH 1/2] m_type is long, not int

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Serge Hallyn <serue@xxxxxxxxxx>

So make sure we store a field big enough on 64-bit arch.

Signed-off-by: Serge Hallyn <serue@xxxxxxxxxx>
---
 include/linux/checkpoint_hdr.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/checkpoint_hdr.h b/include/linux/checkpoint_hdr.h
index 314d967..a80dcdc 100644
--- a/include/linux/checkpoint_hdr.h
+++ b/include/linux/checkpoint_hdr.h
@@ -977,7 +977,7 @@ struct ckpt_hdr_ipc_msg {
 
 struct ckpt_hdr_ipc_msg_msg {
 	struct ckpt_hdr h;
-	__s32 m_type;
+	__s64 m_type;
 	__u32 m_ts;
 	__s32 sec_ref;
 } __attribute__((aligned(8)));
-- 
1.6.0.6

_______________________________________________
Containers mailing list
Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/containers

[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux