28 lines
801 B
Diff
28 lines
801 B
Diff
|
From eb301a32b39d8d7992b2092819740e9313864585 Mon Sep 17 00:00:00 2001
|
||
|
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
|
||
|
index 05b7290..f938050 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
|
||
|
--
|
||
|
1.6.0.2
|
||
|
|