summaryrefslogtreecommitdiffstats
path: root/drivers/block/drbd/drbd_bitmap.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@linbit.com>2011-08-17 12:43:25 +0200
committerPhilipp Reisner <philipp.reisner@linbit.com>2012-11-08 16:58:02 +0100
commita209b4aec31d4b672b7a70f5de272ebf6ce40e1b (patch)
tree76d1b913a30423968b14101bb873db092e6aac59 /drivers/block/drbd/drbd_bitmap.c
parentdrbd: Remove unused code (diff)
downloadlinux-a209b4aec31d4b672b7a70f5de272ebf6ce40e1b.tar.xz
linux-a209b4aec31d4b672b7a70f5de272ebf6ce40e1b.zip
drbd: Update some outdated comments to match the code
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'drivers/block/drbd/drbd_bitmap.c')
-rw-r--r--drivers/block/drbd/drbd_bitmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/drbd/drbd_bitmap.c b/drivers/block/drbd/drbd_bitmap.c
index 706e5220dd4a..092f8273e6bd 100644
--- a/drivers/block/drbd/drbd_bitmap.c
+++ b/drivers/block/drbd/drbd_bitmap.c
@@ -389,8 +389,8 @@ static struct page **bm_realloc_pages(struct drbd_bitmap *b, unsigned long want)
/* Trying kmalloc first, falling back to vmalloc.
* GFP_KERNEL is ok, as this is done when a lower level disk is
- * "attached" to the drbd. Context is receiver thread or cqueue
- * thread. As we have no disk yet, we are not in the IO path,
+ * "attached" to the drbd. Context is receiver thread or drbdsetup /
+ * netlink process. As we have no disk yet, we are not in the IO path,
* not even the IO path of the peer. */
bytes = sizeof(struct page *)*want;
new_pages = kmalloc(bytes, GFP_KERNEL);