Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp3593039ybe; Sun, 15 Sep 2019 19:40:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqxhwfAibgugb/ndgPy1TouLvq0jGx5rJK/lyyMVhoIVzwzEpic7S6L0Fk7OtcS7+ifDzyZ6 X-Received: by 2002:a17:907:111b:: with SMTP id qu27mr50180193ejb.10.1568601637384; Sun, 15 Sep 2019 19:40:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568601637; cv=none; d=google.com; s=arc-20160816; b=pNxaqTM7/KLuE91pdOqJDt+BOJIEau9aftgF06LaVkJsDO/h5MQrtDpUJ5WuLCayk7 C8zTv049kH8JivRHxoBLDFmiNBAjzfk7yq72/KNEt8DDTsWR3pyDRmtzT5A/tGCWb5dy SG2SPhE+FGMdc5envaP5H2yYEOvDBo8UKYqnV62nRj5Fvrf87hcWBZneXiyybVQfZCEv coKX98T1/0bR9GOylJNup8iVQ939SFvr+PhBA7AAvhacN+0A5jFRHshnSrbre2G2ggPL w4GarTfn9Huq7gC6fXxGd2rVyF+FZpCJpDfXAN0eripb/tPHRSLnpNxx6v3DLd/a8v8k +bXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:to :subject; bh=BgsEw2+PuhEAAvCfHnc8NEfvvh/y8NwzIYiLII3rwYE=; b=BA6HR1MZyJh5Lb5/UhRt1di9mr+//ked3vfzJ9+PeGX2hdU/3T3M6juVQmN/T4gid6 RMgR+EytTFYr3e0VokIZWTpuqMs2ngnTnGYi/LCxde19bcucOhLRW4md4KBJBbfmlOka /hThwA450rTa8fBnUPWYdb80YQXioAVE/ue+rqkIqj8Gst41lIO9EjNg7hyNKgJMIctw T+WRVRi2IqNSBsUzvONTqXAWXDGlz4ExdFoofnwokmJBW1+/1UttpDsnYm/dTJkMXKBe iCb35ShgRBMaF7IQp5P1whXtcGpZ0XOIb/1pwzxVnNLq2f6sXfx+DQ6ow8DNXl7ikebH Verg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id by16si3721281edb.30.2019.09.15.19.40.13; Sun, 15 Sep 2019 19:40:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729027AbfIPBVC (ORCPT + 99 others); Sun, 15 Sep 2019 21:21:02 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:56726 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727192AbfIPBVC (ORCPT ); Sun, 15 Sep 2019 21:21:02 -0400 Received: from DGGEMS412-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id DFFEE14AB25707A36B83; Mon, 16 Sep 2019 09:21:00 +0800 (CST) Received: from [127.0.0.1] (10.177.224.82) by DGGEMS412-HUB.china.huawei.com (10.3.19.212) with Microsoft SMTP Server id 14.3.439.0; Mon, 16 Sep 2019 09:20:53 +0800 Subject: Re: [PATCH] ubifs: ubifs_tnc_start_commit: Fix OOB in layout_in_gaps To: Richard Weinberger CC: "zhangyi (F)" , Richard Weinberger , Sascha Hauer , Artem Bityutskiy , LKML , "linux-mtd@lists.infradead.org" References: <1563602720-113903-1-git-send-email-chengzhihao1@huawei.com> <0B80F9D4116B2F4484E7279D5A66984F7A7472@dggemi524-mbx.china.huawei.com> <0B80F9D4116B2F4484E7279D5A66984F7C0325@dggemi524-mbx.china.huawei.com> From: Zhihao Cheng Message-ID: <173d4c4b-1846-5dd5-b477-4eb21258d4b6@huawei.com> Date: Mon, 16 Sep 2019 09:20:51 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.177.224.82] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 在 2019/9/16 6:00, Richard Weinberger 写道: > On Fri, Aug 16, 2019 at 10:01 AM chengzhihao wrote: >> >>> ubifs_assert(c, p < c->gap_lebs + c->lst.idx_lebs); >> >> I've done 50 problem reproduces on different flash devices and made sure that the assertion was not triggered. See record.txt for details. > > Thanks for letting me know. :) > I need to give this another thought, then we can apply it for -rc2. > ACK. :)