Replace bi_error with a new bi_status to allow for a clear conversion. Note that device mapper overloaded bi_error with a private value, which we'll have to keep arround at least for now and thus propagate to a proper blk_status_t value.
Showing the changes to include/linux/blkdev.h (1 of 106 files). Show all
Unified · Split
| @@ -1782,7 +1782,7 @@ struct blk_integrity_iter { · 1781 unmodified lines | |||
| 1782 | const char *disk_name; | 1782 | const char *disk_name; |
| 1783 | }; | 1783 | }; |
| 1784 | 1784 | ||
| 1785 | typedef int (integrity_processing_fn) (struct blk_integrity_iter *); | 1785 | typedef blk_status_t (integrity_processing_fn) (struct blk_integrity_iter *); |
| 1786 | 1786 | ||
| 1787 | struct blk_integrity_profile { | 1787 | struct blk_integrity_profile { |
| 1788 | integrity_processing_fn *generate_fn; | 1788 | integrity_processing_fn *generate_fn; |