block: mark part_in_flight and part_in_flight_rw static
Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:

committed by
Jens Axboe

parent
31eb618679
commit
6005771c17
@@ -409,9 +409,6 @@ static inline void free_part_stats(struct hd_struct *part)
|
||||
#define part_stat_local_read_cpu(gendiskp, field, cpu) \
|
||||
local_read(&(part_stat_get_cpu(gendiskp, field, cpu)))
|
||||
|
||||
unsigned int part_in_flight(struct request_queue *q, struct hd_struct *part);
|
||||
void part_in_flight_rw(struct request_queue *q, struct hd_struct *part,
|
||||
unsigned int inflight[2]);
|
||||
void part_dec_in_flight(struct request_queue *q, struct hd_struct *part,
|
||||
int rw);
|
||||
void part_inc_in_flight(struct request_queue *q, struct hd_struct *part,
|
||||
|
Reference in New Issue
Block a user