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 lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 211A7C4321E for ; Mon, 21 Nov 2022 19:47:03 +0000 (UTC) Received: from [127.0.0.1] (helo=sfs-ml-1.v29.lw.sourceforge.com) by sfs-ml-1.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1oxCkv-0004uv-7D; Mon, 21 Nov 2022 19:47:01 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1oxCkt-0004uh-9H for linux-f2fs-devel@lists.sourceforge.net; Mon, 21 Nov 2022 19:46:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=In-Reply-To:Content-Type:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=mrUeBzbBPktCj/0CXhmCr7HlBcwPe5CR0Yh38FsMH1k=; b=PIyIKYk1PWygueV/43g2L4d80b yZa37NgpZeCYj6FwfxbJzj4z1Q2F9SMJkGq++hFCD9rqbELmD5wTerF6V09sJ7a1eEGRF8AWVX4e5 E2yxSWoCCsYXEIOnFloLIzDtlSrv185HsO77k3x5ZuwBc4ysnSFMutXcgrfQ7YvO6Ej0=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To :From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=mrUeBzbBPktCj/0CXhmCr7HlBcwPe5CR0Yh38FsMH1k=; b=CiKW2Wgvc/nv87fQ5S94OJktR8 oTypUbFrY127mi6D4iTJIAAk98HplZ7owhBhV3Qq/EWR7oM/8MjTdu4X01tMiuMDTQrt7pZ6T1o4G TtNmED7HOuIkYndUT5V7mkeJZZMBk0qeurktZWnFa+bh0FTHM7RgKBdshnqK7fd4zlqQ=; Received: from dfw.source.kernel.org ([139.178.84.217]) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1oxCkp-008nTa-0S for linux-f2fs-devel@lists.sourceforge.net; Mon, 21 Nov 2022 19:46:59 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 93B2C61146; Mon, 21 Nov 2022 19:46:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 36061C4347C; Mon, 21 Nov 2022 19:46:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1669060009; bh=pHzctSC+3S79oH24mEHkCYNAjNLCVnOPYHO4iVExqp8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gu4ApRO7ShKYUQt/o5rHuO7/e7edxcAQL2sz08D3vSZo4B4Yk7qIg2vN3+Vq3zb0+ Znpn4doRVYY6VPlWQoh0Ki+1FycncWJEWYrgpqSxcxLrGTrUT1KzhrLmH0QIH+WGGj kbpFVJ/bYVorYvawbiwdS8l/ZzBij6GvGFI/CdCUsg6olmZxihCSuvgv3LaAYT0/7+ TvDA9gIAJkZJCq0ErkkUytJZssk6IIHLmwxHEAxykGzz/dfMEiK9/q/3cZw4EHXrxq Ifz0K/JPBw7GfKC1syS2sIBKVLiEYwTrzvlu5GZqxy0pUPLAeBf3gY4OKNS1eYWpm/ 4m6ENAR20nqXg== Date: Mon, 21 Nov 2022 19:46:47 +0000 From: Eric Biggers To: Alexander Potapenko Message-ID: References: <20221121112134.407362-1-glider@google.com> <20221121112134.407362-2-glider@google.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20221121112134.407362-2-glider@google.com> X-Headers-End: 1oxCkp-008nTa-0S Subject: Re: [f2fs-dev] [PATCH 2/5] fs: affs: initialize fsdata in affs_truncate() X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: tytso@mit.edu, linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, adilger.kernel@dilger.ca, linux-fsdevel@vger.kernel.org, jaegeuk@kernel.org, akpm@linux-foundation.org, linux-ext4@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net On Mon, Nov 21, 2022 at 12:21:31PM +0100, Alexander Potapenko wrote: > When aops->write_begin() does not initialize fsdata, KMSAN may report > an error passing the latter to aops->write_end(). > > Fix this by unconditionally initializing fsdata. > > Suggested-by: Eric Biggers > Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Are you sure that is the correct Fixes commit? What about commit f2b6a16eb8f5 ("fs: affs convert to new aops")? - Eric _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel