From 7ced6a316a17f9ee1a2fad85beeb86f36f250195 Mon Sep 17 00:00:00 2001 From: alex Date: Fri, 11 Mar 2005 22:17:22 +0000 Subject: [PATCH] b=5863 - assertion was wrong --- 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 9efe83a..0383838 100644 --- a/lustre/mds/handler.c +++ b/lustre/mds/handler.c @@ -1086,7 +1086,7 @@ static int mds_getattr_lock(struct ptlrpc_request *req, int offset, LASSERT(dparent); dchild = ll_lookup_one_len(name, dparent, namesize - 1); - LASSERT(dchild); + LASSERT(!IS_ERR(dchild)); LDLM_LOCK_PUT(granted_lock); } -- 1.8.3.1