Commit a2823ea9 authored by Lars Ellenberg's avatar Lars Ellenberg Committed by Jens Axboe

drbd: fix comment typos

Signed-off-by: default avatarLars Ellenberg <lars.ellenberg@linbit.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent fe43ed97
...@@ -4428,7 +4428,7 @@ static int receive_state(struct drbd_connection *connection, struct packet_info ...@@ -4428,7 +4428,7 @@ static int receive_state(struct drbd_connection *connection, struct packet_info
(peer_state.disk == D_NEGOTIATING || (peer_state.disk == D_NEGOTIATING ||
os.disk == D_NEGOTIATING)); os.disk == D_NEGOTIATING));
/* if we have both been inconsistent, and the peer has been /* if we have both been inconsistent, and the peer has been
* forced to be UpToDate with --overwrite-data */ * forced to be UpToDate with --force */
cr |= test_bit(CONSIDER_RESYNC, &device->flags); cr |= test_bit(CONSIDER_RESYNC, &device->flags);
/* if we had been plain connected, and the admin requested to /* if we had been plain connected, and the admin requested to
* start a sync by "invalidate" or "invalidate-remote" */ * start a sync by "invalidate" or "invalidate-remote" */
......
...@@ -1124,7 +1124,7 @@ static union drbd_state sanitize_state(struct drbd_device *device, union drbd_st ...@@ -1124,7 +1124,7 @@ static union drbd_state sanitize_state(struct drbd_device *device, union drbd_st
ns.pdsk = D_UP_TO_DATE; ns.pdsk = D_UP_TO_DATE;
} }
/* Implications of the connection stat on the disk states */ /* Implications of the connection state on the disk states */
disk_min = D_DISKLESS; disk_min = D_DISKLESS;
disk_max = D_UP_TO_DATE; disk_max = D_UP_TO_DATE;
pdsk_min = D_INCONSISTENT; pdsk_min = D_INCONSISTENT;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment