aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
Diffstat (limited to 'include/scsi')
-rw-r--r--include/scsi/osd_ore.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/scsi/osd_ore.h b/include/scsi/osd_ore.h
index 716dbeae8cd2..af2231a0fd09 100644
--- a/include/scsi/osd_ore.h
+++ b/include/scsi/osd_ore.h
@@ -153,7 +153,10 @@ int ore_get_io_state(struct ore_layout *layout, struct ore_components *comps,
153 struct ore_io_state **ios); 153 struct ore_io_state **ios);
154void ore_put_io_state(struct ore_io_state *ios); 154void ore_put_io_state(struct ore_io_state *ios);
155 155
156int ore_check_io(struct ore_io_state *ios, u64 *resid); 156typedef void (*ore_on_dev_error)(struct ore_io_state *ios, struct ore_dev *od,
157 unsigned dev_index, enum osd_err_priority oep,
158 u64 dev_offset, u64 dev_len);
159int ore_check_io(struct ore_io_state *ios, ore_on_dev_error rep);
157 160
158int ore_create(struct ore_io_state *ios); 161int ore_create(struct ore_io_state *ios);
159int ore_remove(struct ore_io_state *ios); 162int ore_remove(struct ore_io_state *ios);