mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 22:05:36 +00:00
fsnotify: Deprecate separate images for marks
Marks images were merged into regular in 1.3. ✓ travis-ci: success for Sanitize fsnotify legacy code Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
This commit is contained in:
committed by
Andrei Vagin
parent
4bd43e226f
commit
80f84ab0a4
@@ -30,6 +30,7 @@
|
||||
#include "filesystems.h"
|
||||
#include "image.h"
|
||||
#include "util.h"
|
||||
#include "crtools.h"
|
||||
#include "files.h"
|
||||
#include "files-reg.h"
|
||||
#include "file-ids.h"
|
||||
@@ -909,6 +910,9 @@ static int collect_one_inotify_mark(void *o, ProtobufCMessage *msg, struct cr_im
|
||||
{
|
||||
struct fsnotify_mark_info *mark = o;
|
||||
|
||||
if (!deprecated_ok("separate images for fsnotify marks"))
|
||||
return -1;
|
||||
|
||||
mark->iwe = pb_msg(msg, InotifyWdEntry);
|
||||
INIT_LIST_HEAD(&mark->list);
|
||||
mark->remap = NULL;
|
||||
@@ -937,6 +941,9 @@ static int collect_one_fanotify_mark(void *o, ProtobufCMessage *msg, struct cr_i
|
||||
{
|
||||
struct fsnotify_mark_info *mark = o;
|
||||
|
||||
if (!deprecated_ok("separate images for fsnotify marks"))
|
||||
return -1;
|
||||
|
||||
mark->fme = pb_msg(msg, FanotifyMarkEntry);
|
||||
INIT_LIST_HEAD(&mark->list);
|
||||
mark->remap = NULL;
|
||||
|
Reference in New Issue
Block a user