summaryrefslogtreecommitdiffstats
path: root/include/block.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/block.h')
-rw-r--r--include/block.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/block.h b/include/block.h
index 872a4c1bba..91377679b0 100644
--- a/include/block.h
+++ b/include/block.h
@@ -9,6 +9,7 @@ struct block_device;
struct block_device_ops {
int (*read)(struct block_device *, void *buf, int block, int num_blocks);
int (*write)(struct block_device *, const void *buf, int block, int num_blocks);
+ int (*flush)(struct block_device *);
};
struct chunk;