From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B98A0C433EF for ; Tue, 22 Mar 2022 20:36:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234117AbiCVUh3 (ORCPT ); Tue, 22 Mar 2022 16:37:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234038AbiCVUhY (ORCPT ); Tue, 22 Mar 2022 16:37:24 -0400 Received: from valentin-vidic.from.hr (valentin-vidic.from.hr [IPv6:2001:470:1f0b:3b7::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8C6EFCC3 for ; Tue, 22 Mar 2022 13:35:56 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at valentin-vidic.from.hr Received: by valentin-vidic.from.hr (Postfix, from userid 1000) id 9A53227E5F; Tue, 22 Mar 2022 21:35:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=valentin-vidic.from.hr; s=2020; t=1647981345; bh=xUB6V3iJ7Xhl9pkuQnVjET2rGiobVvuBo0GYXUwuhjI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qSZ1tXNx6dsXB11Y0eDkV6td4I/YzYN2KgQeGOqnNVnvX1KrYyL4RTTDPLoHERI+v KOA699NaYBBPpYdkySXPQaDPizbFBRqw5mKykyZancXaQlh9ACF7rReveCxEN/t3v7 J6B49daX7kqg5a+9HqO/7zC/cAgB59oLKHcljr5jXj0PpK6TI8TXTMBKj1bPD6QLbz fJ8ko5d/9x4xu8Ep7JF//raVlMj5qoB1qhI4wdGrkayKlVtjl1kMPKsSk1dhZZuZE7 I6HjYQlq6bvSJlBR+jRN39lvpCb8as0+xDFT0Hv0xbf/s5clQJ9Eu31avcoYoPK7gy 63/RESpOYjKlBwmDXF9H290fCenH2q1RCzUWEigX2MpOzlzuOvM0EVyCjENdFWyIbR Abmqcm+vRRlDcz96v5mlI7hLJe0HzWaYVrzSce07hg3aNt1tv69dxWiCR50e+q1Krj s04SlTuk4FqFc7h7NLwoS6kiBvV2Vkg5RwnESJMiIti0V2q5gE9NT/5WlgEgmUaVy7 O2DqLZ0DxtKAfIqKeJxwF7j6Y/4OFsSaidHCRqPBmKZLyiSkpq7k3cWWDyuiehTnkH MG/oN2rsjs/XCvdiVFH1I3oeLy2A4OYbDXIwQosJe6t9SUf/vG2Zyqkgzca8IQQnAB lUIYmqZP5s/5Et1S0AiMbXxA= Date: Tue, 22 Mar 2022 21:35:45 +0100 From: Valentin =?utf-8?B?VmlkacSH?= To: Joseph Qi Cc: Mark Fasheh , Joel Becker , linux-kernel@vger.kernel.org, Tuo Li , Dayvison , ocfs2-devel@oss.oracle.com, Joseph Qi Subject: Re: [Ocfs2-devel] [PATCH] ocfs2: quota_local: fix mount crash of filesystems with quota enabled Message-ID: References: <20220322031215.1449435-1-vvidic@valentin-vidic.from.hr> <0bb64f66-6343-72d4-3948-6c6dd49be41a@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0bb64f66-6343-72d4-3948-6c6dd49be41a@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 22, 2022 at 03:32:35PM +0800, Joseph Qi wrote: > Thanks for pointing this out. My fault when reviewing the introduced commit. > But this change will lead to access uninitialized dqi_gqlock when > ocfs2_global_read_info() fails. > How about the following way? Looks good and works for me :) Tested-by: Valentin Vidic -- Valentin