[4/4] linux-user: add BLKSSZGET ioctl wrapper

Submitted by Alexander Graf on Jan. 31, 2012, 9:49 p.m.

Details

Message ID 1328046591-1641-5-git-send-email-agraf@suse.de
State New
Headers show

Commit Message

Alexander Graf Jan. 31, 2012, 9:49 p.m.
This patch adds an ioctl definition for BLKSSZGET.

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

Patch hide | download patch | download mbox

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