Skip to content

Commit

Permalink
bio_put(): add bio_clone() to the list of functions in the comment
Browse files Browse the repository at this point in the history
In bio_put()'s comment, add bio_clone() to the list of functions that can
give you a bio reference.

Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
  • Loading branch information
Alberto Bertogli authored and Jens Axboe committed Nov 2, 2009
1 parent b6727b1 commit ad0bf11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/bio.c
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ EXPORT_SYMBOL(zero_fill_bio);
*
* Description:
* Put a reference to a &struct bio, either one you have gotten with
* bio_alloc or bio_get. The last put of a bio will free it.
* bio_alloc, bio_get or bio_clone. The last put of a bio will free it.
**/
void bio_put(struct bio *bio)
{
Expand Down

0 comments on commit ad0bf11

Please sign in to comment.