2012-03-04 00:28:15 +01:00
|
|
|
From 62783a25efd8a6c5e6272950e8fc7f2dd0fd28e5 Mon Sep 17 00:00:00 2001
|
2012-02-01 00:10:40 +01:00
|
|
|
From: Alexander Graf <agraf@suse.de>
|
|
|
|
Date: Tue, 31 Jan 2012 20:11:37 +0100
|
|
|
|
Subject: [PATCH] linux-user: add BLKSSZGET ioctl wrapper
|
|
|
|
|
|
|
|
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(-)
|
|
|
|
|
|
|
|
diff --git a/linux-user/ioctls.h b/linux-user/ioctls.h
|
2012-03-04 00:28:15 +01:00
|
|
|
index 8647d64..07463d3 100644
|
2012-02-01 00:10:40 +01:00
|
|
|
--- 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
|