mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
bio_put(): add bio_clone() to the list of functions in the comment
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>
This commit is contained in:
parent
b6727b12dd
commit
ad0bf11070
1 changed files with 1 additions and 1 deletions
2
fs/bio.c
2
fs/bio.c
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue