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

files: Don't restore pos when file doesn't support one



It's not quite clean, but on dump non-seekable files dump 0xff...ff into
64-bit pos field of the image. Thus on restore we'd face an error in the
do_open_reg. In order not to have separate helper for non-seekable files
just skip the position restore for such.

Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent 4869da17
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