Skip to content

Commit

Permalink
virtio-blk: return VIRTIO_BLK_F_FLUSH to header.
Browse files Browse the repository at this point in the history
This got renamed and clarified, but let's not break any userspace out there.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
  • Loading branch information
Rusty Russell committed Jul 30, 2012
1 parent cd5d503 commit 6a74389
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/linux/virtio_blk.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 6a74389

Please sign in to comment.