diff options
author | Philipp Reisner <philipp.reisner@linbit.com> | 2011-03-24 11:03:07 +0100 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2012-11-08 16:44:53 +0100 |
commit | cb703454a283d8dd5599e928eeea30367ca18874 (patch) | |
tree | 5e4c7553bc4dbbc3804c6ed6359a355a18b44159 /drivers/block/drbd/drbd_state.h | |
parent | drbd: Rename the DCBP_* functions to dcbp_* and move them to where they are used (diff) | |
download | linux-cb703454a283d8dd5599e928eeea30367ca18874.tar.xz linux-cb703454a283d8dd5599e928eeea30367ca18874.zip |
drbd: Converted drbd_try_outdate_peer() from mdev to tconn
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_state.h')
-rw-r--r-- | drivers/block/drbd/drbd_state.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/block/drbd/drbd_state.h b/drivers/block/drbd/drbd_state.h index 55df0728bc88..394a1998acd9 100644 --- a/drivers/block/drbd/drbd_state.h +++ b/drivers/block/drbd/drbd_state.h @@ -110,4 +110,9 @@ static inline int drbd_request_state(struct drbd_conf *mdev, return _drbd_request_state(mdev, mask, val, CS_VERBOSE + CS_ORDERED); } +enum drbd_role conn_highest_role(struct drbd_tconn *tconn); +enum drbd_role conn_highest_peer(struct drbd_tconn *tconn); +enum drbd_disk_state conn_highest_disk(struct drbd_tconn *tconn); +enum drbd_disk_state conn_highest_pdsk(struct drbd_tconn *tconn); + #endif |