Whamcloud - gitweb
LU-4688 mdt: remove export_put() from mdt_export_evict() 06/13706/6
authorMikhail Pershin <mike.pershin@intel.com>
Tue, 10 Feb 2015 05:49:24 +0000 (08:49 +0300)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 27 Mar 2015 15:26:46 +0000 (15:26 +0000)
This export reference dropping is not needed here, export
referenced from ptlrpc level and will be dropped there as
well. It looks like that call to the class_export_put()
was added just similar to other places where the
class_fail_export() is called but in those cases export
reference was taken right in the same function while here
it is taken by external caller and will dropped there.

Test-Parameters: envdefinitions=SLOW=yes alwaysuploadlogs testlist=replay-dual
Signed-off-by: Mikhail Pershin <mike.pershin@intel.com>
Change-Id: I560271668c10715c7f6caa02bfbf2fccab3eeade
Reviewed-on: http://review.whamcloud.com/13706
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: wangdi <di.wang@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>

index 4bc720a..d0deb78 100644 (file)
@@ -570,7 +570,6 @@ static inline struct seq_server_site *mdt_seq_site(struct mdt_device *mdt)
 static inline void mdt_export_evict(struct obd_export *exp)
-        class_export_put(exp);
 /* Here we use LVB_TYPE to check dne client, because it is