Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 186224
b: refs/heads/master
c: 08259d5
h: refs/heads/master
v: v3
  • Loading branch information
Hugh Dickins authored and Linus Torvalds committed Mar 6, 2010
1 parent 6834054 commit 722b6fd
Show file tree
Hide file tree
Showing 2 changed files with 6 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: c08c6e1f54c85fc299cf9f88cf330d6dd28a9a1d
refs/heads/master: 08259d58e4fa12ceaece82193c5816152f638cca
6 changes: 5 additions & 1 deletion trunk/mm/swapfile.c
Original file line number Diff line number Diff line change
Expand Up @@ -2161,7 +2161,11 @@ void swap_shmem_alloc(swp_entry_t entry)
}

/*
* increase reference count of swap entry by 1.
* Increase reference count of swap entry by 1.
* Returns 0 for success, or -ENOMEM if a swap_count_continuation is required
* but could not be atomically allocated. Returns 0, just as if it succeeded,
* if __swap_duplicate() fails for another reason (-EINVAL or -ENOENT), which
* might occur if a page table entry has got corrupted.
*/
int swap_duplicate(swp_entry_t entry)
{
Expand Down

0 comments on commit 722b6fd

Please sign in to comment.