Skip to contentSkip to conversation

bio_put(): add bio_clone() to the list of functions in the comment

PATCH Applied Alberto Bertogli 2 participants 2 messages Oct 31, 2009 – Nov 2, 2009 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 fs/bio.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
fs/bio.c +1 -1
index 402cb84..bcab9e9 100644
@@ -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)
 {
Signature · 1 line
1.6.5.2.250.g2bd30
Applied
#1 lore raw
Quoted 2 lines · Alberto Bertogli

In bio_put()'s comment, add bio_clone() to the list of functions that can give you a bio reference.

Thanks, applied to for-linus.

Signature · 1 line
Jens Axboe