summaryrefslogtreecommitdiff
path: root/fs/ext4
diff options
context:
space:
mode:
authorXiangning Yu <yuxiangning@gmail.com>2018-06-07 13:39:59 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-07-03 11:21:25 +0200
commitb397cdd8546916f86959b5942cc79204f9c93b80 (patch)
tree82ae357646030a6777621254d25216a33f219cc7 /fs/ext4
parent4c22010c134ad5da33bd68252446d19cd740a82c (diff)
bonding: re-evaluate force_primary when the primary slave name changes
[ Upstream commit eb55bbf865d9979098c6a7a17cbdb41237ece951 ] There is a timing issue under active-standy mode, when bond_enslave() is called, bond->params.primary might not be initialized yet. Any time the primary slave string changes, bond->force_primary should be set to true to make sure the primary becomes the active slave. Signed-off-by: Xiangning Yu <yuxiangning@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/ext4')
0 files changed, 0 insertions, 0 deletions