Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6199256imu; Sun, 2 Dec 2018 12:20:33 -0800 (PST) X-Google-Smtp-Source: AFSGD/V9vttALqzGQBZOOoMvB3mIa6xXU6TfMGDhvoR8vvxturEW6mS83GuqI2d3zPkaqNsyfrjJ X-Received: by 2002:a17:902:bf03:: with SMTP id bi3mr13393613plb.83.1543782033319; Sun, 02 Dec 2018 12:20:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543782033; cv=none; d=google.com; s=arc-20160816; b=N2qMK9/Vz+RA/1SkbMche7v0uIQ7o9ltFz6X4EpDbgbOzzvCuoXtuJ7wuWHWICfTnm gyz8GiQN7qlZqvHm8qs4Cpsx2Ur1NfDjtowq0sn0IRfVOU9ox+ZLXDqxbQGrXUxYa3hZ GFP1ci/z6ZV37qSzO7S0a5/dRTdHRBEjuL2l9rx5GCA+1BN53m+JfrLxGhhZZY93wV6C rJFNWUJi6Tu5EBCXcz/E4SEFgT54zujpef5ipEwdpuZqAhAEa84XKqHBbGLhu/1YVhGs trqfEdMW+id8itV+Ikst5qXcIplM8f9s0waVFkrqPItrItsaL5IOB7FMPhTwJfv2sFCK DcLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=KVEuoduhQ63J647sZc0DXo7xJAkvRQoX8ARFzl2A1Z4=; b=IgUkZ6cj65t3phbmIqIpJzTSnaTuIjoVrdzfPjO2m/nH12nmzzPP46PK0lDvgfeGEB dYSyh49YVYYG84MadvIy0A/kein+Yq9QlJDQyPsJV5JR3VU7vqoWj7ieJ9jsLVlpQP0u wTza/TRp4CXRgG7NALTmMr7+fPZpqPOfQBBcmXHjN9u0Bh3BCyIeQHFFBGSFXPfONJV8 dQfwWyY419PPmCCylKj/KRxAtb1TDBz9vJv/hHoWBbWYBDErKPwGG+8OAnGy2RHA7+UZ /+cOzfbRBAzIleZuqAM4gSGhbWa3vB1Gp3nWC2ECQBeuOFQiDJepKTzANq2eiI9iaWOk rLfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ELt5wVQM; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m1-v6si11968252plb.303.2018.12.02.12.20.17; Sun, 02 Dec 2018 12:20:33 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=default header.b=ELt5wVQM; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725783AbeLBUTo (ORCPT + 99 others); Sun, 2 Dec 2018 15:19:44 -0500 Received: from mail.kernel.org ([198.145.29.99]:57908 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725730AbeLBUTo (ORCPT ); Sun, 2 Dec 2018 15:19:44 -0500 Received: from localhost (unknown [213.57.143.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 720A7206B7; Sun, 2 Dec 2018 20:19:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1543781981; bh=KVEuoduhQ63J647sZc0DXo7xJAkvRQoX8ARFzl2A1Z4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ELt5wVQMsyekX9AV4h8PQv2Q2UwZsmc/d6K3fCK9X7P/bGZKAGF6cGIinQGv7vwPs p2OQmBgh32RtbGzyL/7CqrXeYQliJ/XNLCf+YTRAwZhyYr8Cq5EQlpvrl6WezNAE6i eA1y3meXAUYBDbdLQN4CkDXh1b2hdTjixIHrrA5A= Date: Sun, 2 Dec 2018 15:19:36 -0500 From: Sasha Levin To: Tigran Aivazian Cc: gregkh@linuxfoundation.org, LKML , stable@vger.kernel.org, Tetsuo Handa , syzbot , Andrew Morton , willy@infradead.org, torvalds@linux-foundation.org Subject: Re: [PATCH 4.19.6] BFS: static inode bitmap and extra sanity checking Message-ID: <20181202201936.GA235790@sasha-vm> References: <20181129135921.231283053@linuxfoundation.org> <20181129135922.602882966@linuxfoundation.org> <20181129160722.GA31919@kroah.com> <20181129171038.GA4651@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Dec 02, 2018 at 06:57:10PM +0000, Tigran Aivazian wrote: >Hello, > >Please find a patch attached which contains the following changes: > >1. Simplifies inode bitmap allocation by making it static. >2. Supersedes the changes to BFS that went into 4.19.6 with stronger checking. >3. Other changes are trivial (like whitespace cleanup, warning messages etc). > >Fully tested under 4.19.6 kernel. No part of this patch is upstream yet. We can't take anything that is not in Linus's tree. It should also not contain anything that isn't strictly a fix, that means no whitespace cleanups and such. Please break it into multiple patches when you send it upstream. -- Thanks, Sasha