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
17821782 const char *disk_name;
17831783 };
17841784
1785−typedef int (integrity_processing_fn) (struct blk_integrity_iter *);
1785+typedef blk_status_t (integrity_processing_fn) (struct blk_integrity_iter *);
17861786
17871787 struct blk_integrity_profile {
17881788 integrity_processing_fn *generate_fn;