854d244b76
for update_git.sh OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=62
25 lines
788 B
Diff
25 lines
788 B
Diff
From 62783a25efd8a6c5e6272950e8fc7f2dd0fd28e5 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 8647d64..07463d3 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
|