From: Mikhail Pershin Date: Tue, 10 Feb 2015 05:49:24 +0000 (+0300) Subject: LU-4688 mdt: remove export_put() from mdt_export_evict() X-Git-Tag: 2.7.52~40 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F06%2F13706%2F6;p=fs%2Flustre-release.git LU-4688 mdt: remove export_put() from mdt_export_evict() 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 Change-Id: I560271668c10715c7f6caa02bfbf2fccab3eeade Reviewed-on: http://review.whamcloud.com/13706 Reviewed-by: Andreas Dilger Tested-by: Jenkins Tested-by: Maloo Reviewed-by: wangdi Reviewed-by: Oleg Drokin --- diff --git a/lustre/mdt/mdt_internal.h b/lustre/mdt/mdt_internal.h index 4bc720a..d0deb78 100644 --- a/lustre/mdt/mdt_internal.h +++ b/lustre/mdt/mdt_internal.h @@ -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_fail_export(exp); - class_export_put(exp); } /* Here we use LVB_TYPE to check dne client, because it is