Patchwork linux-user: Add ioctl for BLKBSZGET

login
register
mail settings
Submitter Alexander Graf
Date Feb. 2, 2012, 12:03 a.m.
Message ID <1328141039-1379-1-git-send-email-agraf@suse.de>
Download mbox | patch
Permalink /patch/139034/
State New
Headers show

Comments

Alexander Graf - Feb. 2, 2012, 12:03 a.m.
This patch adds the ioctl wrapper definition for BLKBSZGET.

Signed-off-by: Alexander Graf <agraf@suse.de>
---
 linux-user/ioctls.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

diff --git a/linux-user/ioctls.h b/linux-user/ioctls.h
index 7245ff0..d8caf6f 100644
--- a/linux-user/ioctls.h
+++ b/linux-user/ioctls.h
@@ -75,6 +75,7 @@ 
      IOCTL(BLKRASET, 0, TYPE_INT)
      IOCTL(BLKRAGET, IOC_R, MK_PTR(TYPE_LONG))
      IOCTL(BLKSSZGET, IOC_R, MK_PTR(TYPE_LONG))
+     IOCTL(BLKBSZGET, IOC_R, MK_PTR(TYPE_INT))
 #ifdef FIBMAP
      IOCTL(FIBMAP, IOC_W | IOC_R, MK_PTR(TYPE_LONG))
 #endif