Fix ioctl arg size (userland incompatible change!)
commitf9f3fff9a4cec2d241b2a04ac10261ecd18134dc
authorChris Mason <chris.mason@oracle.com>
Fri, 16 Jan 2009 17:05:01 +0000 (16 12:05 -0500)
committerChris Mason <chris.mason@oracle.com>
Fri, 16 Jan 2009 17:05:01 +0000 (16 12:05 -0500)
tree22be0bb9bfead97548f18fe66af9d4fb574ce341
parent6fc10e9fe39410ed606506584e3a07fd21dc1e6b
Fix ioctl arg size (userland incompatible change!)

The structure used to send device in btrfs ioctl calls was not
properly aligned, and so 32 bit ioctls would not work properly on
64 bit kernels.

We could fix this with compat ioctls, but we're just one byte away
and it doesn't make sense at this stage to carry about the compat ioctls
forever at this stage in the project.

This patch brings the ioctl arg up to an evenly aligned 4k.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
ioctl.h
utils.c