From: yury Date: Fri, 19 Sep 2008 19:01:37 +0000 (+0000) Subject: b=16777 16776 X-Git-Tag: v1_7_110~1^116 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=461b445d7f6d2f5a04dcdd505d3e9d4eac1ced4f;p=fs%2Flustre-release.git b=16777 16776 r=shadow, adilger, vitaly, robert - new clas_hash and using it for connections, held locks on server, etc --- diff --git a/lustre/mgs/mgs_handler.c b/lustre/mgs/mgs_handler.c index ad0cb6d..ce3bf8b 100644 --- a/lustre/mgs/mgs_handler.c +++ b/lustre/mgs/mgs_handler.c @@ -655,11 +655,17 @@ int mgs_handle(struct ptlrpc_request *req) RETURN(0); } +static inline int mgs_init_export(struct obd_export *exp) +{ + return ldlm_init_export(exp); +} + static inline int mgs_destroy_export(struct obd_export *exp) { ENTRY; target_destroy_export(exp); + ldlm_destroy_export(exp); mgs_client_free(exp); RETURN(0); @@ -896,6 +902,7 @@ static struct obd_ops mgs_obd_ops = { .o_setup = mgs_setup, .o_precleanup = mgs_precleanup, .o_cleanup = mgs_cleanup, + .o_init_export = mgs_init_export, .o_destroy_export = mgs_destroy_export, .o_iocontrol = mgs_iocontrol, };