提交 1f552430 编写于 作者: P Philipp Reisner

drbd: Renamed overwrite_peer to primary_force

Signed-off-by: NPhilipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: NLars Ellenberg <lars.ellenberg@linbit.com>
上级 d10a33c6
...@@ -407,7 +407,7 @@ static int drbd_nl_primary(struct drbd_conf *mdev, struct drbd_nl_cfg_req *nlp, ...@@ -407,7 +407,7 @@ static int drbd_nl_primary(struct drbd_conf *mdev, struct drbd_nl_cfg_req *nlp,
} }
reply->ret_code = reply->ret_code =
drbd_set_role(mdev, R_PRIMARY, primary_args.overwrite_peer); drbd_set_role(mdev, R_PRIMARY, primary_args.primary_force);
return 0; return 0;
} }
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#endif #endif
NL_PACKET(primary, 1, NL_PACKET(primary, 1,
NL_BIT( 1, T_MAY_IGNORE, overwrite_peer) NL_BIT( 1, T_MAY_IGNORE, primary_force)
) )
NL_PACKET(secondary, 2, ) NL_PACKET(secondary, 2, )
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册