Re: 2.6.4-mm1

Joe Thornber
2004-03-11T21:42:37Z

On Thu, Mar 11, 2004 at 03:48:29PM +0100, Andi Kleen wrote:
> Maybe they have broken data structures again, most likely
> because of different long long alignment. A lot of people
> who attempt to design data structures that don't need translation
> get that wrong unfortunately.

I'd thought we'd been careful about this. You're suggesting that the
size of this structure has changed between kernel versions ?!

struct dm_ioctl {
uint32_t version[3];
uint32_t data_size;

uint32_t data_start;

uint32_t target_count;
int32_t open_count;
uint32_t flags;
uint32_t event_nr;
uint32_t padding;

uint64_t dev;

char name[DM_NAME_LEN];
char uuid[DM_UUID_LEN];
};

- Joe