Skip to content
Commit fac7befa authored by Pavel Emelyanov's avatar Pavel Emelyanov
Browse files

files: Sanity check for reg file on restore is not corrupted



When opening a reg file on restore -- check that the file size we
opened matches the on we saw on dump. This is not bullet-proof protection,
but is helpful to protect against FS updates between dump/restore.

Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent 99cd9695
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment