]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
drbd: Update outdated comment
authorAndreas Gruenbacher <agruen@linbit.com>
Fri, 14 Jan 2011 20:19:36 +0000 (21:19 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 25 Aug 2011 12:57:59 +0000 (14:57 +0200)
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_receiver.c

index bafc233ef3fa480c1c74ba692f251415092dffb2..26810ce5d1e136dd0246e4a246c7fcd6bb112779 100644 (file)
@@ -1512,7 +1512,7 @@ static int receive_RSDataReply(struct drbd_conf *mdev, enum drbd_packets cmd, un
        if (get_ldev(mdev)) {
                /* data is submitted to disk within recv_resync_read.
                 * corresponding put_ldev done below on error,
-                * or in drbd_endio_write_sec. */
+                * or in drbd_endio_sec. */
                ok = recv_resync_read(mdev, sector, data_size);
        } else {
                if (__ratelimit(&drbd_ratelimit_state))
@@ -1673,7 +1673,7 @@ static int receive_Data(struct drbd_conf *mdev, enum drbd_packets cmd, unsigned
 
        /* get_ldev(mdev) successful.
         * Corresponding put_ldev done either below (on various errors),
-        * or in drbd_endio_write_sec, if we successfully submit the data at
+        * or in drbd_endio_sec, if we successfully submit the data at
         * the end of this function. */
 
        sector = be64_to_cpu(p->sector);