criu/include/eventfd.h
Pavel Emelyanov bd7bf7bd39 anon-inode: Don't readlink fd/fd multiple times
The is_foo_link readlinks the lfd to check. This makes
anon-inodes dumping readlink several times to find proper
dump ops. Optimize this thing.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2014-02-02 22:14:29 +04:00

10 lines
239 B
C

#ifndef __CR_EVENTFD_H__
#define __CR_EVENTFD_H__
#include "files.h"
extern int is_eventfd_link(char *link);
extern const struct fdtype_ops eventfd_dump_ops;
extern struct collect_image_info eventfd_cinfo;
#endif /* __CR_EVENTFD_H__ */