Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 25197
b: refs/heads/master
c: e74ca2b
h: refs/heads/master
i:
  25195: 2f9f754
v: v3
  • Loading branch information
Eric Sesterhenn authored and Adrian Bunk committed Mar 31, 2006
1 parent 45533e7 commit b89c3da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: 46a350ef9803a2526a128c55cdb27dd73b2ad966
refs/heads/master: e74ca2b49b8a38e9ba0bc039a00498c21140f1d6
3 changes: 1 addition & 2 deletions trunk/mm/swap_state.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,7 @@ int add_to_swap(struct page * page, gfp_t gfp_mask)
swp_entry_t entry;
int err;

if (!PageLocked(page))
BUG();
BUG_ON(!PageLocked(page));

for (;;) {
entry = get_swap_page();
Expand Down

0 comments on commit b89c3da

Please sign in to comment.