From 6d2e953078ff4fb84fb3c97cd093b33ea94910ff Mon Sep 17 00:00:00 2001 From: huanghua Date: Wed, 28 Jun 2006 13:51:14 +0000 Subject: [PATCH] fix a bug. --- lustre/mdt/mdt_handler.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/mdt/mdt_handler.c b/lustre/mdt/mdt_handler.c index 50cbd64..0daa1db 100644 --- a/lustre/mdt/mdt_handler.c +++ b/lustre/mdt/mdt_handler.c @@ -1804,14 +1804,14 @@ static int mdt_fld_init(const struct lu_context *ctx, OBD_ALLOC_PTR(ls->ls_fld); - if (ls->ls_fld != NULL) + if (ls->ls_fld != NULL) { rc = fld_server_init(ls->ls_fld, ctx, uuid, m->mdt_bottom); if (rc) { OBD_FREE_PTR(ls->ls_fld); ls->ls_fld = NULL; } - else + } else rc = -ENOMEM; RETURN(rc); -- 1.8.3.1