forked from mirrors/linux
		
	block: mark blk_account_io_completion static
Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
		
							parent
							
								
									ac7c5675fa
								
							
						
					
					
						commit
						f1394b7988
					
				
					 2 changed files with 1 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1381,7 +1381,7 @@ unsigned int blk_rq_err_bytes(const struct request *rq)
 | 
			
		|||
}
 | 
			
		||||
EXPORT_SYMBOL_GPL(blk_rq_err_bytes);
 | 
			
		||||
 | 
			
		||||
void blk_account_io_completion(struct request *req, unsigned int bytes)
 | 
			
		||||
static void blk_account_io_completion(struct request *req, unsigned int bytes)
 | 
			
		||||
{
 | 
			
		||||
	if (req->part && blk_do_io_stat(req)) {
 | 
			
		||||
		const int sgrp = op_stat_group(req_op(req));
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -187,7 +187,6 @@ bool blk_attempt_plug_merge(struct request_queue *q, struct bio *bio,
 | 
			
		|||
		unsigned int nr_segs, struct request **same_queue_rq);
 | 
			
		||||
 | 
			
		||||
void blk_account_io_start(struct request *req, bool new_io);
 | 
			
		||||
void blk_account_io_completion(struct request *req, unsigned int bytes);
 | 
			
		||||
void blk_account_io_done(struct request *req, u64 now);
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue