mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 06:15:24 +00:00
fd: Remove fs_is_special
It's no longer required. All the previously special fds are now scattered over other images. Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
@@ -227,11 +227,6 @@ int fd_id_generate(pid_t pid, struct fdinfo_entry *fe)
|
||||
struct fd_id_entry *fid;
|
||||
int new_id = 0;
|
||||
|
||||
if (fd_is_special(fe)) {
|
||||
fe->id = fd_id_generate_special();
|
||||
return 1;
|
||||
}
|
||||
|
||||
fid = fd_id_generate_gen(pid, fe, &new_id);
|
||||
if (!fid)
|
||||
return -ENOMEM;
|
||||
|
Reference in New Issue
Block a user