lkml.org 
[lkml]   [2004]   [Mar]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6.4-mm1
On Thu, Mar 11, 2004 at 09:43:54PM +0000, Joe Thornber wrote:
> struct dm_ioctl { 0
> uint32_t version[3];
> uint32_t data_size; 4
>
> uint32_t data_start;
>
> uint32_t target_count;
> int32_t open_count;
> uint32_t flags; 8
> uint32_t event_nr;
> uint32_t padding; 10 ***

Here's probably the problem. Many 64bit arches align 64bit
numbers on a 64bit boundary. So it is adding 2 more words of padding to
start the u64 at offset 12.

> uint64_t dev;
>
> char name[DM_NAME_LEN];
> char uuid[DM_UUID_LEN];
> };

Joel

--

Life's Little Instruction Book #313

"Never underestimate the power of love."

Joel Becker
Senior Member of Technical Staff
Oracle Corporation
E-mail: joel.becker@oracle.com
Phone: (650) 506-8127
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:01    [W:0.119 / U:0.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site