Searched refs:mydisk (Results 1 – 1 of 1) sorted by relevance
3440 enum drbd_disk_state mydisk; in drbd_sync_handshake() local3444 mydisk = device->state.disk; in drbd_sync_handshake()3445 if (mydisk == D_NEGOTIATING) in drbd_sync_handshake()3446 mydisk = device->new_state_tmp.disk; in drbd_sync_handshake()3478 if ((mydisk == D_INCONSISTENT && peer_disk > D_INCONSISTENT) || in drbd_sync_handshake()3479 (peer_disk == D_INCONSISTENT && mydisk > D_INCONSISTENT)) { in drbd_sync_handshake()3481 hg = mydisk > D_INCONSISTENT ? 1 : -1; in drbd_sync_handshake()3548 if (hg > 0 && mydisk <= D_INCONSISTENT) { in drbd_sync_handshake()