summaryrefslogtreecommitdiffstats
path: root/drivers/block/drbd/drbd_req.h
diff options
context:
space:
mode:
authorAndreas Gruenbacher2010-12-19 23:53:14 +0100
committerPhilipp Reisner2012-11-08 16:44:50 +0100
commit8f7bed77740c7418074e6ba82c646a7dd035e6cf (patch)
treed3e429d72b8330e128dee76613b06b2e21d64d98 /drivers/block/drbd/drbd_req.h
parentdrbd: drbd_may_do_local_read(): Use bool/true/false (diff)
downloadkernel-qcow2-linux-8f7bed77740c7418074e6ba82c646a7dd035e6cf.tar.gz
kernel-qcow2-linux-8f7bed77740c7418074e6ba82c646a7dd035e6cf.tar.xz
kernel-qcow2-linux-8f7bed77740c7418074e6ba82c646a7dd035e6cf.zip
drbd: Rename various functions from *_oos_* to *_out_of_sync_* for clarity
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_req.h')
-rw-r--r--drivers/block/drbd/drbd_req.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/drbd/drbd_req.h b/drivers/block/drbd/drbd_req.h
index 8c8c2588c4b9..7fb3e06369d2 100644
--- a/drivers/block/drbd/drbd_req.h
+++ b/drivers/block/drbd/drbd_req.h
@@ -305,7 +305,7 @@ static inline bool drbd_should_do_remote(union drbd_state s)
That is equivalent since before 96 IO was frozen in the C_WF_BITMAP*
states. */
}
-static inline bool drbd_should_send_oos(union drbd_state s)
+static inline bool drbd_should_send_out_of_sync(union drbd_state s)
{
return s.conn == C_AHEAD || s.conn == C_WF_BITMAP_S;
/* pdsk = D_INCONSISTENT as a consequence. Protocol 96 check not necessary