X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fllite%2Fdir.c;h=493996d8e1e7a95d8385719bfa70c8897d259f5f;hp=a3a514c8433af183a6228b557e0e8ed7de1ccc15;hb=b32d64cb50715ff12d39c7c8ba73fbfeab596a5d;hpb=415c1a031c8a7debfdff09ebb4eb8acd5363a70b diff --git a/lustre/llite/dir.c b/lustre/llite/dir.c index a3a514c..493996d 100644 --- a/lustre/llite/dir.c +++ b/lustre/llite/dir.c @@ -1035,7 +1035,7 @@ static int ll_ioc_copy_end(struct super_block *sb, struct hsm_copy *copy) CDEBUG(D_HSM, "Could not read file data version. " "Request could not be confirmed.\n"); if (hpk.hpk_errval == 0) - hpk.hpk_errval = rc; + hpk.hpk_errval = -rc; GOTO(progress, rc); }