mirror of
https://github.com/checkpoint-restore/criu
synced 2025-09-05 08:45:49 +00:00
mount: rename TMPFS_MAGIC into TMPFS_IMG_MAGIC
TMPFS_MAGIC is already used in linux/magic.h 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
e16f0976fc
commit
06662f9f13
4
mount.c
4
mount.c
@@ -592,7 +592,7 @@ static int tmpfs_dump(struct mount_info *pm)
|
||||
goto out;
|
||||
}
|
||||
|
||||
fd_img = open_image(CR_FD_TMPFS, O_DUMP, pm->mnt_id);
|
||||
fd_img = open_image(CR_FD_TMPFS_IMG, O_DUMP, pm->mnt_id);
|
||||
if (fd_img < 0)
|
||||
goto out;
|
||||
|
||||
@@ -622,7 +622,7 @@ static int tmpfs_restore(struct mount_info *pm)
|
||||
int ret;
|
||||
int fd_img;
|
||||
|
||||
fd_img = open_image(CR_FD_TMPFS, O_RSTR, pm->mnt_id);
|
||||
fd_img = open_image(CR_FD_TMPFS_IMG, O_RSTR, pm->mnt_id);
|
||||
if (fd_img < 0)
|
||||
return -1;
|
||||
|
||||
|
Reference in New Issue
Block a user