From 5ac247b56b7ae501a46e401071be5852625b8e34 Mon Sep 17 00:00:00 2001 From: nikita Date: Sun, 16 Apr 2006 17:45:27 +0000 Subject: [PATCH] lu_site_fini(): break reference from lu_device to lu_site --- lustre/obdclass/lu_object.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lustre/obdclass/lu_object.c b/lustre/obdclass/lu_object.c index b07f39d..7ece821 100644 --- a/lustre/obdclass/lu_object.c +++ b/lustre/obdclass/lu_object.c @@ -287,6 +287,7 @@ void lu_site_fini(struct lu_site *s) } if (s->ls_top_dev != NULL) { lu_device_put(s->ls_top_dev); + s->ls_top_dev->ld_site = NULL; s->ls_top_dev = NULL; } } -- 1.8.3.1