From owner-freebsd-fs@FreeBSD.ORG Wed Oct 3 07:43:00 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59C29106564A for ; Wed, 3 Oct 2012 07:43:00 +0000 (UTC) (envelope-from gber@freebsd.org) Received: from smtp.semihalf.com (smtp.semihalf.com [213.17.239.109]) by mx1.freebsd.org (Postfix) with ESMTP id 0A9A18FC08 for ; Wed, 3 Oct 2012 07:42:59 +0000 (UTC) Received: from localhost (unknown [213.17.239.109]) by smtp.semihalf.com (Postfix) with ESMTP id 957A7119C6D; Wed, 3 Oct 2012 09:42:58 +0200 (CEST) X-Virus-Scanned: by amavisd-new at semihalf.com Received: from smtp.semihalf.com ([213.17.239.109]) by localhost (smtp.semihalf.com [213.17.239.109]) (amavisd-new, port 10024) with ESMTP id wWT9QSrWf4QB; Wed, 3 Oct 2012 09:42:58 +0200 (CEST) Received: from [10.0.0.93] (cardhu.semihalf.com [213.17.239.108]) by smtp.semihalf.com (Postfix) with ESMTPSA id F0511119C4F; Wed, 3 Oct 2012 09:42:57 +0200 (CEST) Message-ID: <506C082B.8000207@freebsd.org> Date: Wed, 03 Oct 2012 11:40:59 +0200 From: Grzegorz Bernacki User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.24) Gecko/20120127 Thunderbird/3.1.16 MIME-Version: 1.0 To: Boris Astardzhiev References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org, stanislav_galabov@smartcom.bg Subject: Re: libstand's NANDFS superblock detection fix X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Oct 2012 07:43:00 -0000 On 10/02/12 17:00, Boris Astardzhiev wrote: > Hello, > > On behalf of Smartcom Bulgaria AD I would like to contribute a patch for > libstand's NANDFS support in FreeBSD. > It is related to the correct detection of a superblock when accessing > the filesystem. It's also been noticed that > the election of a superblock between kernelspace and libstand's one > differs regarding the checkpoint number. > The patch is attached. > > Comments will be appreciated. > > Greetings, > Boris Astardzhiev / Smartcom Bulgaria AD Hello Boris, Patch looks fine. Just remove code under #if 0 and it can be submitted. Please let me know if you want to do it or you can do it yourself. Give me some more time and I will check checkpoint number differs you mentioned. thanks a lot for you contribution, grzesiek