Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 224113
b: refs/heads/master
c: e4a7b93
h: refs/heads/master
i:
  224111: 69dd183
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Nov 8, 2010
1 parent 688dca1 commit 9b35644
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 840a185dddfd098b78b96a30da4cad722a7aef18
refs/heads/master: e4a7b93bd5d84e1e79917d024d17d745d190fc9a
8 changes: 4 additions & 4 deletions trunk/drivers/net/bonding/bond_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -3209,7 +3209,7 @@ void bond_activebackup_arp_mon(struct work_struct *work)
#ifdef CONFIG_PROC_FS

static void *bond_info_seq_start(struct seq_file *seq, loff_t *pos)
__acquires(&dev_base_lock)
__acquires(RCU)
__acquires(&bond->lock)
{
struct bonding *bond = seq->private;
Expand All @@ -3218,7 +3218,7 @@ static void *bond_info_seq_start(struct seq_file *seq, loff_t *pos)
int i;

/* make sure the bond won't be taken away */
read_lock(&dev_base_lock);
rcu_read_lock();
read_lock(&bond->lock);

if (*pos == 0)
Expand Down Expand Up @@ -3248,12 +3248,12 @@ static void *bond_info_seq_next(struct seq_file *seq, void *v, loff_t *pos)

static void bond_info_seq_stop(struct seq_file *seq, void *v)
__releases(&bond->lock)
__releases(&dev_base_lock)
__releases(RCU)
{
struct bonding *bond = seq->private;

read_unlock(&bond->lock);
read_unlock(&dev_base_lock);
rcu_read_unlock();
}

static void bond_info_show_master(struct seq_file *seq)
Expand Down

0 comments on commit 9b35644

Please sign in to comment.