]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
staging: lustre: lmv: lookup remote migrating object in LMV
authorwang di <di.wang@intel.com>
Tue, 16 Aug 2016 20:18:42 +0000 (16:18 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 21 Aug 2016 13:57:35 +0000 (15:57 +0200)
If remote object is being found in a migrating directory,
it should continue to lookup the object in remote MDT,
instead of return.

Signed-off-by: wang di <di.wang@intel.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4805
Reviewed-on: http://review.whamcloud.com/9806
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/lmv/lmv_intent.c

index 51b7048ff9b216e0e72441150d3c14b87f224c50..a38d343b935970841588729259ac6b6d2f479dc3 100644 (file)
@@ -471,7 +471,6 @@ static int lmv_intent_lookup(struct obd_export *exp,
                it->it_disposition &= ~DISP_ENQ_COMPLETE;
                rc = md_intent_lock(tgt->ltd_exp, op_data, lmm, lmmsize, it,
                                    flags, reqp, cb_blocking, extra_lock_flags);
-               return rc;
        }
 
        /*