diff options
author | bunder2015 <[email protected]> | 2017-03-07 12:54:55 -0500 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-03-07 09:54:55 -0800 |
commit | 5fc73c46f9f94d2697b77a830dd9fb8a85368d23 (patch) | |
tree | 949d643ee094e658271a2e4768a2e939eb922720 /include/linux | |
parent | 3ec3bc2167352df525c10c99cf24cb24952c2786 (diff) |
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 <[email protected]>
Reviewed-by: Giuseppe Di Natale <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: bunder2015 <[email protected]>
Closes #5860
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/blkdev_compat.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/include/linux/blkdev_compat.h b/include/linux/blkdev_compat.h index 8de0669ca..881c038a8 100644 --- a/include/linux/blkdev_compat.h +++ b/include/linux/blkdev_compat.h @@ -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 } |