From 308d3a20e5b5fe6cb7f9c9a0882c256bb6b150fb Mon Sep 17 00:00:00 2001 From: nikita Date: Wed, 16 Aug 2006 15:41:11 +0000 Subject: [PATCH] osd: trivial fixes --- lustre/osd/osd_handler.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lustre/osd/osd_handler.c b/lustre/osd/osd_handler.c index 2fd7c52..f482632 100644 --- a/lustre/osd/osd_handler.c +++ b/lustre/osd/osd_handler.c @@ -1772,9 +1772,6 @@ static int osd_mount(const struct lu_context *ctx, static struct lu_device *osd_device_fini(const struct lu_context *ctx, struct lu_device *d) { - struct osd_device *o = osd_dev(d); - struct osd_thread_info *info = lu_context_key_get(ctx, &osd_key); - ENTRY; RETURN(NULL); } @@ -1821,7 +1818,7 @@ static int osd_process_config(const struct lu_context *ctx, err = osd_mount(ctx, o, cfg); break; case LCFG_CLEANUP: - osd_shutdown(ctx, o); + err = osd_shutdown(ctx, o); break; default: err = -ENOTTY; -- 1.8.3.1