Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 336187
b: refs/heads/master
c: e196c0e
h: refs/heads/master
i:
  336185: 6a26848
  336183: e5d095e
v: v3
  • Loading branch information
nikolay@redhat.com authored and David S. Miller committed Nov 29, 2012
1 parent ab918d8 commit 0cd0c91
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 90fb6250c509cabd425b7ae4524053dba2e27e2c
refs/heads/master: e196c0e579902f42cf72414461fb034e5a1ffbf7
2 changes: 2 additions & 0 deletions trunk/drivers/net/bonding/bond_sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1568,6 +1568,7 @@ static ssize_t bonding_store_slaves_active(struct device *d,
goto out;
}

read_lock(&bond->lock);
bond_for_each_slave(bond, slave, i) {
if (!bond_is_active_slave(slave)) {
if (new_value)
Expand All @@ -1576,6 +1577,7 @@ static ssize_t bonding_store_slaves_active(struct device *d,
slave->inactive = 1;
}
}
read_unlock(&bond->lock);
out:
return ret;
}
Expand Down

0 comments on commit 0cd0c91

Please sign in to comment.