Messages in this thread Patch in this message | | | From | Fabian Frederick <> | Subject | [PATCH 13/21] drbd: fix drbd_bm_init() comments | Date | Fri, 27 Nov 2015 22:29:28 +0100 |
| |
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
| |