Commit 4d3b3e81 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov

files: Rename pop_fmap_fd to pull_fmap_fd

The function has nothing to do with "pop" operation,
it rather "pull"s descriptor out of list. Name it so.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Acked-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 69fefa4d
......@@ -491,7 +491,7 @@ err:
return err;
}
static struct fmap_fd *pop_fmap_fd(int pid, unsigned long start)
static struct fmap_fd *pull_fmap_fd(int pid, unsigned long start)
{
struct fmap_fd **p, *r;
......@@ -514,7 +514,7 @@ static struct fmap_fd *pop_fmap_fd(int pid, unsigned long start)
int try_fixup_file_map(int pid, struct vma_entry *vma_entry, int fd)
{
struct fmap_fd *fmap_fd = pop_fmap_fd(pid, vma_entry->start);
struct fmap_fd *fmap_fd = pull_fmap_fd(pid, vma_entry->start);
if (fmap_fd) {
pr_info("%d: Fixing %lx vma to %d fd\n",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment