From 38485dc2756c17fa86db407278b8073ffe0fd891 Mon Sep 17 00:00:00 2001 From: adilger Date: Fri, 1 Nov 2002 21:19:08 +0000 Subject: [PATCH] Yes, we should in fact MOD_DEC_USE_COUNT there. --- lustre/mds/handler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/mds/handler.c b/lustre/mds/handler.c index 6bd5e0c..37735de 100644 --- a/lustre/mds/handler.c +++ b/lustre/mds/handler.c @@ -303,7 +303,7 @@ static int mds_connect(struct lustre_handle *conn, struct obd_device *obd, if (!list_empty(&exp->exp_conn_chain)) { CERROR("existing uuid/export, list not empty!\n"); spin_unlock(&obd->obd_dev_lock); - /* XXX should we MOD_DEC_USE_COUNT; here? */ + MOD_DEC_USE_COUNT; RETURN(-EALREADY); } conn->addr = (__u64) (unsigned long)exp; -- 1.8.3.1