projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd5d503
)
virtio-blk: return VIRTIO_BLK_F_FLUSH to header.
author
Rusty Russell
<rusty@rustcorp.com.au>
Mon, 30 Jul 2012 04:00:52 +0000
(13:30 +0930)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Mon, 30 Jul 2012 04:00:52 +0000
(13:30 +0930)
This got renamed and clarified, but let's not break any userspace out there.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
include/linux/virtio_blk.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/virtio_blk.h
b/include/linux/virtio_blk.h
index e2aba15f545dd80195f01d05a44164eda53cad69..6d8e61c48563a41a56379643585d610cff7f096a 100644
(file)
--- a/
include/linux/virtio_blk.h
+++ b/
include/linux/virtio_blk.h
@@
-41,6
+41,11
@@
#define VIRTIO_BLK_F_TOPOLOGY 10 /* Topology information is available */
#define VIRTIO_BLK_F_CONFIG_WCE 11 /* Writeback mode available in config */
+#ifndef __KERNEL__
+/* Old (deprecated) name for VIRTIO_BLK_F_WCE. */
+#define VIRTIO_BLK_F_FLUSH VIRTIO_BLK_F_WCE
+#endif
+
#define VIRTIO_BLK_ID_BYTES 20 /* ID string length */
struct virtio_blk_config {