From: Stanislav Kinsbursky --- kernel/cpt/rst_undump.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/kernel/cpt/rst_undump.c b/kernel/cpt/rst_undump.c index bfef595..3971f5e 100644 --- a/kernel/cpt/rst_undump.c +++ b/kernel/cpt/rst_undump.c @@ -349,11 +349,6 @@ static int hook(void *arg) goto out; } - if ((err = rst_files(ti, ctx)) != 0) { - eprintk_ctx("rst_files: %d\n", err); - goto out; - } - if ((err = rst_fs_complete(ti, ctx)) != 0) { eprintk_ctx("rst_fs: %d\n", err); goto out; @@ -497,6 +492,11 @@ static int hook(void *arg) goto out; } + if ((err = rst_files(ti, ctx)) != 0) { + eprintk_ctx("rst_files: %d\n", err); + goto out; + } + if (exiting) current->signal->flags |= SIGNAL_GROUP_EXIT;