drbd: on reconfiguration requests, mind the SET_DEFAULTS flag
authorLars Ellenberg <lars.ellenberg@linbit.com>
Wed, 27 Apr 2011 19:09:55 +0000 (21:09 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 8 Nov 2012 15:50:38 +0000 (16:50 +0100)
The DRBD_GENL_F_SET_DEFAULTS flag was ignored
for drbd_adm_disk_opts() and drbd_adm_net_opts().

Factor out drbd_set_*_defaults() helper functions,
and call them appropriately.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>

No differences found