mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 14:25:49 +00:00
util: add ability to release a last piece from a shared pool (v2)
v2: s/shfree/shfree_last Signed-off-by: Andrey Vagin <avagin@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
ae70bc0ad6
commit
67b6748f68
@@ -319,5 +319,6 @@ static inline int read_img_str(int fd, char **pstr, int size)
|
||||
}
|
||||
|
||||
extern void *shmalloc(size_t bytes);
|
||||
extern void shfree_last(void *ptr);
|
||||
|
||||
#endif /* UTIL_H_ */
|
||||
|
Reference in New Issue
Block a user