Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261357AbVD0N2I (ORCPT ); Wed, 27 Apr 2005 09:28:08 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261312AbVD0N2I (ORCPT ); Wed, 27 Apr 2005 09:28:08 -0400 Received: from mx1.redhat.com ([66.187.233.31]:37811 "EHLO mx1.redhat.com") by vger.kernel.org with ESMTP id S261357AbVD0N1V (ORCPT ); Wed, 27 Apr 2005 09:27:21 -0400 Date: Wed, 27 Apr 2005 21:30:56 +0800 From: David Teigland To: Domen Puncer Cc: linux-kernel@vger.kernel.org, akpm@osdl.org Subject: Re: [PATCH 1b/7] dlm: core locking Message-ID: <20050427133056.GD16502@redhat.com> References: <20050425165826.GB11938@redhat.com> <20050427123340.GB18533@nd47.coderock.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050427123340.GB18533@nd47.coderock.org> User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 500 Lines: 17 On Wed, Apr 27, 2005 at 02:33:40PM +0200, Domen Puncer wrote: > > + if (!r->res_lvbptr) > > + r->res_lvbptr = allocate_lvb(r->res_ls); > > + > > + memcpy(r->res_lvbptr, lkb->lkb_lvbptr, DLM_LVB_LEN); > > So... can it fail? Yes, fixed now, thanks Dave - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/