diff options
author | Christoph Lameter <clameter@sgi.com> | 2006-06-23 05:03:29 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-23 10:42:50 -0400 |
commit | 5b5c7120e2154239837fad5e3c7b7b781092b19c (patch) | |
tree | 733d5e4268a79abb320316d98c15b822f9f55a15 /include/linux/coda_fs_i.h | |
parent | e7340f73307abed9283d0a07570d06e228c205dd (diff) |
[PATCH] page migration cleanup: drop nr_refs in remove_references()
Drop nr_refs parameter from migrate_page_remove_references()
The nr_refs parameter is not really useful since the number of remaining
references is always
1 for anonymous pages without a mapping
2 for pages with a mapping
3 for pages with a mapping and PagePrivate set.
Remove the early check for the number of references since we are checking
page_mapcount() earlier. Ultimately only the refcount matters after the
tree_lock has been obtained.
Signed-off-by: Christoph Lameter <clameter@sgi.coim>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/coda_fs_i.h')
0 files changed, 0 insertions, 0 deletions