summaryrefslogtreecommitdiffstats
path: root/drivers/block/drbd/drbd_state.h
diff options
context:
space:
mode:
authorPhilipp Reisner <philipp.reisner@linbit.com>2011-03-29 18:15:49 +0200
committerPhilipp Reisner <philipp.reisner@linbit.com>2012-11-08 16:45:05 +0100
commit4669265a7bb146ae072951e26c8527fdc733eff6 (patch)
treedaf3a6710ec4f7b3adc83d1f9c01fa6b917b51dd /drivers/block/drbd/drbd_state.h
parentdrbd: Implemented conn_lowest_conn() (diff)
downloadlinux-4669265a7bb146ae072951e26c8527fdc733eff6.tar.xz
linux-4669265a7bb146ae072951e26c8527fdc733eff6.zip
drbd: Implemented conn_lowest_disk()
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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/block/drbd/drbd_state.h b/drivers/block/drbd/drbd_state.h
index 286af0612dc4..757f9d93643f 100644
--- a/drivers/block/drbd/drbd_state.h
+++ b/drivers/block/drbd/drbd_state.h
@@ -153,6 +153,7 @@ static inline int drbd_request_state(struct drbd_conf *mdev,
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_lowest_disk(struct drbd_tconn *tconn);
enum drbd_disk_state conn_highest_pdsk(struct drbd_tconn *tconn);
enum drbd_conns conn_lowest_conn(struct drbd_tconn *tconn);