2009-10-31 21:45:16

by Alberto Bertogli

[permalink] [raw]
Subject: [PATCH] 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 <[email protected]>
---
fs/bio.c | 2 +-
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)
{
--
1.6.5.2.250.g2bd30


2009-11-02 10:46:59

by Jens Axboe

[permalink] [raw]
Subject: Re: [PATCH] bio_put(): add bio_clone() to the list of functions in the comment

On Sat, Oct 31 2009, Alberto Bertogli wrote:
> 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.

--
Jens Axboe