Skip to content

Commit

Permalink
drbd: Renamed overwrite_peer to primary_force
Browse files Browse the repository at this point in the history
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
  • Loading branch information
Philipp Reisner committed Mar 11, 2010
1 parent d10a33c commit 1f55243
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/block/drbd/drbd_nl.c
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ static int drbd_nl_primary(struct drbd_conf *mdev, struct drbd_nl_cfg_req *nlp,
}

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;
}
Expand Down
2 changes: 1 addition & 1 deletion include/linux/drbd_nl.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#endif

NL_PACKET(primary, 1,
NL_BIT( 1, T_MAY_IGNORE, overwrite_peer)
NL_BIT( 1, T_MAY_IGNORE, primary_force)
)

NL_PACKET(secondary, 2, )
Expand Down

0 comments on commit 1f55243

Please sign in to comment.