Whamcloud - gitweb
LU-8821 mdt: avoid double find in mdt_path_current() 01/23701/2
authorJohn L. Hammond <john.hammond@intel.com>
Thu, 12 Nov 2015 15:49:09 +0000 (09:49 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 24 Jan 2017 05:22:44 +0000 (05:22 +0000)
commitc6383473e74262eaf8f822dcb6b28b22b130f364
treea9ce71c531388b5d04ea084ac71baec91e9c41a9
parentcbc084f9e06ca589768f5a84699b476721db9fd6
LU-8821 mdt: avoid double find in mdt_path_current()

In mdt_path_current() avoid finding the object we are already holding
a reference to.

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: Iae4796047d2c5b02989d29baf2e7620545f7e45c
Reviewed-on: https://review.whamcloud.com/23701
Tested-by: Jenkins
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/mdt/mdt_handler.c