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

login
register
mail settings
Submitter Alexander Graf
Date Jan. 31, 2012, 9:49 p.m.
Message ID <1328046591-1641-5-git-send-email-agraf@suse.de>
Download mbox | patch
Permalink /patch/138876/
State New
Headers show

Comments

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

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