Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 338743
b: refs/heads/master
c: 6555bc0
h: refs/heads/master
i:
  338741: 0667a67
  338739: 7d4c954
  338735: fdc9d72
v: v3
  • Loading branch information
Cesar Eduardo Barros authored and Linus Torvalds committed Dec 12, 2012
1 parent 92bc320 commit af4bbb9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: cf0cac0a09341549dedabcfc2a66dcbc2eaaf2b9
refs/heads/master: 6555bc035731eab76c0901925034465d3ad2099c
2 changes: 1 addition & 1 deletion trunk/mm/swapfile.c
Original file line number Diff line number Diff line change
Expand Up @@ -1471,7 +1471,6 @@ static void _enable_swap_info(struct swap_info_struct *p, int prio,
swap_list.head = swap_list.next = p->type;
else
swap_info[prev]->next = p->type;
frontswap_init(p->type);
}

static void enable_swap_info(struct swap_info_struct *p, int prio,
Expand All @@ -1480,6 +1479,7 @@ static void enable_swap_info(struct swap_info_struct *p, int prio,
{
spin_lock(&swap_lock);
_enable_swap_info(p, prio, swap_map, frontswap_map);
frontswap_init(p->type);
spin_unlock(&swap_lock);
}

Expand Down

0 comments on commit af4bbb9

Please sign in to comment.