lkml.org 
[lkml]   [2012]   [Aug]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v5 10/12] block: Add bio_clone_kmalloc()
On Wed, Aug 08, 2012 at 06:57:04PM -0700, Kent Overstreet wrote:
> That means bio_clone_kmalloc will just become:
>
> static inline struct bio *bio_clone_kmalloc(struct bio *bio,
> gfp_t gfp_mask)
> {
> return bio_clone_bioset(bio, gfp_mask, BIO_KMALLOC_POOL)
> }
>
> (or maybe NULL there, I think using NULL for the interface makes sense,
> I just don't want to use it for bi_pool).
>
> Do you still want the /** for a one line wrapper like that?

I don't know. But do you think you can do similar thing to alloc
interface too?

Thanks.

--
tejun


\
 
 \ /
  Last update: 2012-08-09 09:46    [W:0.072 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site