diff options
Diffstat (limited to 'include/linux/blkdev.h')
| -rw-r--r-- | include/linux/blkdev.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index 29189aeace19..4571ef1a12a9 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h | |||
| @@ -682,9 +682,12 @@ static inline bool blk_write_same_mergeable(struct bio *a, struct bio *b) | |||
| 682 | /* | 682 | /* |
| 683 | * q->prep_rq_fn return values | 683 | * q->prep_rq_fn return values |
| 684 | */ | 684 | */ |
| 685 | #define BLKPREP_OK 0 /* serve it */ | 685 | enum { |
| 686 | #define BLKPREP_KILL 1 /* fatal error, kill */ | 686 | BLKPREP_OK, /* serve it */ |
| 687 | #define BLKPREP_DEFER 2 /* leave on queue */ | 687 | BLKPREP_KILL, /* fatal error, kill, return -EIO */ |
| 688 | BLKPREP_DEFER, /* leave on queue */ | ||
| 689 | BLKPREP_INVALID, /* invalid command, kill, return -EREMOTEIO */ | ||
| 690 | }; | ||
| 688 | 691 | ||
| 689 | extern unsigned long blk_max_low_pfn, blk_max_pfn; | 692 | extern unsigned long blk_max_low_pfn, blk_max_pfn; |
| 690 | 693 | ||
