• Chris Mason's avatar
    Btrfs: fix ioctl arg size (userland incompatible change!) · c071fcfd
    Chris Mason authored
    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>
    c071fcfd
super.c 16.5 KB