lkml.org 
[lkml]   [2015]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 13/21] drbd: fix drbd_bm_init() comments
    Date
    Function is also called by drbd_create_device() so original comment
    is now obsolete.

    Signed-off-by: Fabian Frederick <fabf@skynet.be>
    ---
    drivers/block/drbd/drbd_bitmap.c | 3 +--
    1 file changed, 1 insertion(+), 2 deletions(-)

    diff --git a/drivers/block/drbd/drbd_bitmap.c b/drivers/block/drbd/drbd_bitmap.c
    index 92d6fc0..aa2ced7 100644
    --- a/drivers/block/drbd/drbd_bitmap.c
    +++ b/drivers/block/drbd/drbd_bitmap.c
    @@ -427,8 +427,7 @@ static struct page **bm_realloc_pages(struct drbd_bitmap *b, unsigned long want)
    }

    /*
    - * called on driver init only. TODO call when a device is created.
    - * allocates the drbd_bitmap, and stores it in device->bitmap.
    + * allocates the drbd_bitmap and stores it in device->bitmap.
    */
    int drbd_bm_init(struct drbd_device *device)
    {
    --
    2.1.4


    \
     
     \ /
      Last update: 2015-11-27 22:41    [W:3.547 / U:0.080 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site