summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlberto Bertogli <albertito@blitiri.com.ar>2009-11-02 11:39:22 +0100
committerJens Axboe <jens.axboe@oracle.com>2009-11-02 11:39:22 +0100
commitad0bf11070ebb3c95f8ce82e6219dbd79c8e8b69 (patch)
treea26200377bc006a0a12f33d232ed0e19b87eb618
parentb6727b12dd2ffb4a890eb5b13a298230c29ba45d (diff)
downloadop-kernel-dev-ad0bf11070ebb3c95f8ce82e6219dbd79c8e8b69.zip
op-kernel-dev-ad0bf11070ebb3c95f8ce82e6219dbd79c8e8b69.tar.gz
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>
-rw-r--r--fs/bio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bio.c b/fs/bio.c
index 402cb84..bcab9e9 100644
--- a/fs/bio.c
+++ b/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)
{
OpenPOWER on IntegriCloud