diff options
author | Lee Schermerhorn <lee.schermerhorn@hp.com> | 2008-04-28 11:13:09 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-28 17:58:23 +0200 |
commit | 846a16bf0fc80dc95a414ffce465e3cbf9680247 (patch) | |
tree | 45e03061c5e3d8242bf470509771926f37177415 /ipc | |
parent | mempolicy: rename mpol_free to mpol_put (diff) | |
download | linux-846a16bf0fc80dc95a414ffce465e3cbf9680247.tar.xz linux-846a16bf0fc80dc95a414ffce465e3cbf9680247.zip |
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 <lee.schermerhorn@hp.com>
Cc: Christoph Lameter <clameter@sgi.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Mel Gorman <mel@csn.ul.ie>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions