mempolicy: rename mpol_copy to mpol_dup
authorLee Schermerhorn <[email protected]>
Mon, 28 Apr 2008 09:13:09 +0000 (02:13 -0700)
committerLinus Torvalds <[email protected]>
Mon, 28 Apr 2008 15:58:23 +0000 (08:58 -0700)
commit846a16bf0fc80dc95a414ffce465e3cbf9680247
tree45e03061c5e3d8242bf470509771926f37177415
parentf0be3d32b05d3fea2fcdbbb81a39dac2a7163169
mempolicy: rename mpol_copy to mpol_dup

This patch renames mpol_copy() to mpol_dup() because, well, that's what it
does.  Like, e.g., strdup() for strings, mpol_dup() takes a pointer to an
existing mempolicy, allocates a new one and copies the contents.

In a later patch, I want to use the name mpol_copy() to copy the contents from
one mempolicy to another like, e.g., strcpy() does for strings.

Signed-off-by: Lee Schermerhorn <[email protected]>
Cc: Christoph Lameter <[email protected]>
Cc: David Rientjes <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: Andi Kleen <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/mempolicy.h
kernel/cpuset.c
kernel/fork.c
mm/mempolicy.c
mm/mmap.c