2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-09-04 08:15:37 +00:00

img: Remove O_OPT and COLLECT_OPTIONAL

Current code doesn't make any difference between OPT and no-OPT
except for the message is printed or not in the open_image().
So this particular change changes nothing but the availability of
this message.

In the next patches I wil introduce "empty images" to deal with
the ENOENT situation in a more graceful manner.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Pavel Emelyanov
2015-03-06 18:01:54 +03:00
parent 8218e014d0
commit e29c9daec2
21 changed files with 17 additions and 36 deletions

View File

@@ -408,7 +408,6 @@ struct collect_image_info nsfile_cinfo = {
.pb_type = PB_NS_FILE,
.priv_size = sizeof(struct ns_file_info),
.collect = collect_one_nsfile,
.flags = COLLECT_OPTIONAL,
};
/*