3d5fb0946f
for update_git.sh OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=62
25 lines
803 B
Diff
25 lines
803 B
Diff
From cd606a848069e4adfbf65f33468ab1471b26d85e Mon Sep 17 00:00:00 2001
|
|
From: Alexander Graf <agraf@suse.de>
|
|
Date: Thu, 2 Feb 2012 02:22:34 +0100
|
|
Subject: [PATCH] linux-user: Add ioctl for BLKBSZGET
|
|
|
|
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(-)
|
|
|
|
diff --git a/linux-user/ioctls.h b/linux-user/ioctls.h
|
|
index 07463d3..e8c1c69 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
|