mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-25 18:59:33 +03:00
Fix multi-line error messages in blkdev_compat.h
Fix multi-line error messages in blkdev_compat.h by changing error-generating multi-line error messages to single line errors. Reviewed-by: George Melikov <mail@gmelikov.ru> Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: bunder2015 <omfgbunder@gmail.com> Closes #5860
This commit is contained in:
parent
3ec3bc2167
commit
5fc73c46f9
@ -351,8 +351,6 @@ bio_set_flush(struct bio *bio)
|
||||
bio_set_op_attrs(bio, 0, REQ_PREFLUSH);
|
||||
#else
|
||||
#error "Allowing the build will cause bio_set_flush requests to be ignored."
|
||||
"Please file an issue report at: "
|
||||
"https://github.com/zfsonlinux/zfs/issues/new"
|
||||
#endif
|
||||
}
|
||||
|
||||
@ -393,8 +391,7 @@ bio_is_flush(struct bio *bio)
|
||||
#elif defined(REQ_FLUSH)
|
||||
return (bio->bi_rw & REQ_FLUSH);
|
||||
#else
|
||||
#error "Allowing the build will cause flush requests to be ignored. Please "
|
||||
"file an issue report at: https://github.com/zfsonlinux/zfs/issues/new"
|
||||
#error "Allowing the build will cause flush requests to be ignored."
|
||||
#endif
|
||||
}
|
||||
|
||||
@ -413,8 +410,7 @@ bio_is_fua(struct bio *bio)
|
||||
#elif defined(REQ_FUA)
|
||||
return (bio->bi_rw & REQ_FUA);
|
||||
#else
|
||||
#error "Allowing the build will cause fua requests to be ignored. Please "
|
||||
"file an issue report at: https://github.com/zfsonlinux/zfs/issues/new"
|
||||
#error "Allowing the build will cause fua requests to be ignored."
|
||||
#endif
|
||||
}
|
||||
|
||||
@ -445,9 +441,8 @@ bio_is_discard(struct bio *bio)
|
||||
#elif defined(REQ_DISCARD)
|
||||
return (bio->bi_rw & REQ_DISCARD);
|
||||
#else
|
||||
#error "Allowing the build will cause discard requests to become writes "
|
||||
"potentially triggering the DMU_MAX_ACCESS assertion. Please file "
|
||||
"an issue report at: https://github.com/zfsonlinux/zfs/issues/new"
|
||||
/* potentially triggering the DMU_MAX_ACCESS assertion. */
|
||||
#error "Allowing the build will cause discard requests to become writes."
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user