KEYS: add missing permission check for request_key() destination
[linux-2.6-block.git] / drivers / md / dm-bufio.h
index b6d8f53ec15b440c025c6d37c64b88025abd0772..be732d3f86119a0698f6ce32e6c4951997898e9f 100644 (file)
@@ -93,6 +93,15 @@ void dm_bufio_release(struct dm_buffer *b);
  */
 void dm_bufio_mark_buffer_dirty(struct dm_buffer *b);
 
+/*
+ * Mark a part of the buffer dirty.
+ *
+ * The specified part of the buffer is scheduled to be written. dm-bufio may
+ * write the specified part of the buffer or it may write a larger superset.
+ */
+void dm_bufio_mark_partial_buffer_dirty(struct dm_buffer *b,
+                                       unsigned start, unsigned end);
+
 /*
  * Initiate writing of dirty buffers, without waiting for completion.
  */