Searched refs:mydisk (Results 1 – 1 of 1) sorted by relevance
3493 enum drbd_disk_state mydisk; in drbd_sync_handshake() local3497 mydisk = device->state.disk; in drbd_sync_handshake()3498 if (mydisk == D_NEGOTIATING) in drbd_sync_handshake()3499 mydisk = device->new_state_tmp.disk; in drbd_sync_handshake()3531 if ((mydisk == D_INCONSISTENT && peer_disk > D_INCONSISTENT) || in drbd_sync_handshake()3532 (peer_disk == D_INCONSISTENT && mydisk > D_INCONSISTENT)) { in drbd_sync_handshake()3534 hg = mydisk > D_INCONSISTENT ? 1 : -1; in drbd_sync_handshake()3601 if (hg > 0 && mydisk <= D_INCONSISTENT) { in drbd_sync_handshake()