Skip to content
Commit c071fcfd authored by Chris Mason's avatar Chris Mason
Browse files

Btrfs: 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: default avatarChris Mason <chris.mason@oracle.com>
parent 1d9e2ae9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment