diff options
author | Kiyoshi Ueda <k-ueda@ct.jp.nec.com> | 2007-12-11 17:52:28 -0500 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2008-01-28 04:37:12 -0500 |
commit | 3bcddeac1c4c7e6fb90531b80f236b1a05dfe514 (patch) | |
tree | 68e1f33b8176ff00552b1df92d16c23c28b0ecf2 /include/linux | |
parent | 610d8b0c972e3b75493efef8e96175518fd736d3 (diff) |
blk_end_request: remove/unexport end_that_request_* (take 4)
This patch removes the following functions:
o end_that_request_first()
o end_that_request_chunk()
and stops exporting the functions below:
o end_that_request_last()
Cc: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: Kiyoshi Ueda <k-ueda@ct.jp.nec.com>
Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/blkdev.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index 029b7097f9e5..0c39ac75bed4 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h | |||
@@ -718,21 +718,18 @@ static inline void blk_run_address_space(struct address_space *mapping) | |||
718 | } | 718 | } |
719 | 719 | ||
720 | /* | 720 | /* |
721 | * end_request() and friends. Must be called with the request queue spinlock | 721 | * blk_end_request() and friends. |
722 | * acquired. All functions called within end_request() _must_be_ atomic. | 722 | * __blk_end_request() and end_request() must be called with |
723 | * the request queue spinlock acquired. | ||
723 | * | 724 | * |
724 | * Several drivers define their own end_request and call | 725 | * Several drivers define their own end_request and call |
725 | * end_that_request_first() and end_that_request_last() | 726 | * blk_end_request() for parts of the original function. |
726 | * for parts of the original function. This prevents | 727 | * This prevents code duplication in drivers. |
727 | * code duplication in drivers. | ||
728 | */ | 728 | */ |
729 | extern int blk_end_request(struct request *rq, int error, int nr_bytes); | 729 | extern int blk_end_request(struct request *rq, int error, int nr_bytes); |
730 | extern int __blk_end_request(struct request *rq, int error, int nr_bytes); | 730 | extern int __blk_end_request(struct request *rq, int error, int nr_bytes); |
731 | extern int blk_end_bidi_request(struct request *rq, int error, int nr_bytes, | 731 | extern int blk_end_bidi_request(struct request *rq, int error, int nr_bytes, |
732 | int bidi_bytes); | 732 | int bidi_bytes); |
733 | extern int end_that_request_first(struct request *, int, int); | ||
734 | extern int end_that_request_chunk(struct request *, int, int); | ||
735 | extern void end_that_request_last(struct request *, int); | ||
736 | extern void end_request(struct request *, int); | 733 | extern void end_request(struct request *, int); |
737 | extern void end_queued_request(struct request *, int); | 734 | extern void end_queued_request(struct request *, int); |
738 | extern void end_dequeued_request(struct request *, int); | 735 | extern void end_dequeued_request(struct request *, int); |