From 76a8694321b07c360b238b73676928401ce837f8 Mon Sep 17 00:00:00 2001 From: Mikhail Pershin Date: Tue, 10 Feb 2015 08:49:24 +0300 Subject: [PATCH] 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 --- lustre/mdt/mdt_internal.h | 1 - 1 file changed, 1 deletion(-) 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 -- 1.8.3.1