linux-user: Add ioctl for BLKBSZSET
authorMichael Vogt <michael.vogt@gmail.com>
Tue, 23 Apr 2024 15:24:39 +0000 (17:24 +0200)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 5 Jun 2024 16:04:30 +0000 (09:04 -0700)
Tiny patch to add the ioctl wrapper definition for BLKBSZSET.

Signed-off-by: Michael Vogt <mvogt@redhat.com>
Message-Id: <20240423152438.19841-2-mvogt@redhat.com>

linux-user/ioctls.h

index d508d0c04a7e5ca086c9b1ebdcf091b0ff3f4faf..3b41128fd7395216b1c5c49ce48204a61350b2d1 100644 (file)
      IOCTL(BLKRAGET, IOC_R, MK_PTR(TYPE_LONG))
      IOCTL(BLKSSZGET, IOC_R, MK_PTR(TYPE_INT))
      IOCTL(BLKBSZGET, IOC_R, MK_PTR(TYPE_INT))
+     IOCTL(BLKBSZSET, IOC_W, MK_PTR(TYPE_INT))
      IOCTL_SPECIAL(BLKPG, IOC_W, do_ioctl_blkpg,
                    MK_PTR(MK_STRUCT(STRUCT_blkpg_ioctl_arg)))