Skip to content
Snippets Groups Projects
Commit 9cc54d40 authored by NeilBrown's avatar NeilBrown Committed by Jens Axboe
Browse files

Only call bi_end_io once for any bio


Currently bi_end_io can be called multiple times as sub-requests
complete.  However no ->bi_end_io function wants to know about that.
So only call when the bio is complete.

Signed-off-by: default avatarNeil Brown <neilb@suse.de>

### Diffstat output
 ./fs/bio.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff .prev/fs/bio.c ./fs/bio.c
Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent d24517d7
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment