History

block: switch bios to blk_status_t

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.

Christoph Hellwig committed 9 years ago

Commit 4e4cbee1 parent fc17b65106 files · +625 −603Browse files

Showing the changes to include/linux/blkdev.h (1 of 106 files). Show all

Unified · Split

include/linux/blkdev.h+1−1
@@ -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
1785typedef int (integrity_processing_fn) (struct blk_integrity_iter *);1785typedef blk_status_t (integrity_processing_fn) (struct blk_integrity_iter *);
1786 1786
1787struct blk_integrity_profile {1787struct blk_integrity_profile {
1788 integrity_processing_fn *generate_fn;1788 integrity_processing_fn *generate_fn;