2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 14:25:49 +00:00

file-ids: Fix collect genid type

It is u32 and that is it :\

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Pavel Emelyanov
2012-03-24 17:00:06 +04:00
parent ed67491c45
commit 308f6150c2
3 changed files with 4 additions and 4 deletions

View File

@@ -191,7 +191,7 @@ err:
return sub;
}
static struct fd_id_entry *lookup_alloc_node(u64 genid, pid_t pid, int fd)
static struct fd_id_entry *lookup_alloc_node(u32 genid, pid_t pid, int fd)
{
struct rb_node *node = fd_id_root.rb_node;
struct fd_id_entry *e = NULL;
@@ -221,7 +221,7 @@ err:
}
long fd_id_entry_collect(u64 genid, pid_t pid, int fd)
long fd_id_entry_collect(u32 genid, pid_t pid, int fd)
{
struct fd_id_entry *e = NULL;