Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp544358lqp; Wed, 12 Jun 2024 09:01:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWXkM4KtCQ8ZADBe0yrxNG3Rd7sQl0K1YuMz9Ub3mhFdAYCwaRGQ5AjbUwqInZ7FQKjCHZzP9+Y1f4l5ZAwkVFTRZDgmwe9WEAZjpVk5g== X-Google-Smtp-Source: AGHT+IFLLLcGa4CTEQSMwnvkZ2aV/Ww2ozYs4rHpcXGs3Xz+vgX6nKq8AFdQbzMzsG91botGNEnz X-Received: by 2002:a17:90a:9c1:b0:2c4:aae5:890c with SMTP id 98e67ed59e1d1-2c4aae58bddmr2079566a91.21.1718208083268; Wed, 12 Jun 2024 09:01:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718208083; cv=pass; d=google.com; s=arc-20160816; b=o/vuQNj9ify4XGPtoIYOzmVKQlu5L3UvyPGzxLR5i+WVVbFUetAriGqfcl/npRvdE3 iV/JqzdlusQRRqJ/aLUMod0dq7OcQY9jMjMopssSJNcH0rCCbghCFX4+19WWGc2nOeGl IfetWEY2tNM2L0tzLnQ5Vf5FVgW10gzt2pXKy0CTjNMZRwmy1DSR++S6ch6zBNAhLrwT +R4TBdp8WfTGnBqL5UlXwVSC2F999jLNolHoEdiEk+cbeI3ru6rX3Rp4B10m2yxR7mN2 gOkz5vdWrt3CTHC7Wt5f27gWnpMglyGe6K+bzNTBryOpOcOK19fnSHtiLN3outiChaK3 r0HQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:date:message-id:from:subject :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=8vcY0dfwQHcxcTGBYQE6PMl0818Ln+QuzRx00poqgLg=; fh=8WXmbqrTSahKXPUR1YSYWb1pUIn7deKqdorWY5AB+EE=; b=l7T1gPGeFOVkHP6bO2nfSCF4kgf5Gkv5jdjbza/qiYNsi3Sj8xHmBigNRhTaIXjK5p p2sOnKxtvdTyfrmYTfSsZBk+6ZElklfKOBM1rndfsiMyay/kLTvoRrPkFS4L2W0EQEE2 /K+6xEwlsN4LcyYk0MJ45Upits91ikXo8XnUXHEqK0ZzzBNEc+K54yAD72GycpOV9ti/ UAa2YnFLf87JwGJ1ND7DRiOFgYVtVMIhb+icTWYm40iNBFFFMAo3XcyLuc0te55VtUHX 4W4uGCj9mQff93qSldnWlUtlg+ZToef6pXSi1QkH4olesFyB/x3mBFCTERGrK0kxb9Nt yh9Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="tqjqf/Ca"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-211832-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211832-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2c4a970c6fasi1670430a91.131.2024.06.12.09.01.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 09:01:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-211832-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="tqjqf/Ca"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-211832-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211832-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id E05672893DE for ; Wed, 12 Jun 2024 15:58:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6E5301836DD; Wed, 12 Jun 2024 15:56:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="tqjqf/Ca" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 886C5181307; Wed, 12 Jun 2024 15:55:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718207757; cv=none; b=UNg1IxXD51BVZArbFmncYtLIRtsPHLb/H/9D8I337kl6NHyZJP550pFceb29xY5bG8POT1dKvcPVSUqb7StZp65g9ybUzt1dYhLxiA29awVBTX241ps7uxZh4ypuhV4nILyBU5Z5cby9dzDwWLXMvuJZnH373UucbdGRLQscj88= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718207757; c=relaxed/simple; bh=9xEyt5u+0FV1WdcJW4h5qgOf/lShmIROJbiYfAkCp2U=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=oVJn532XkRL72YH3Jped07L9bwxjv/qVHTLnb8iEdfGreN6F/aHS6TaewL486uFZ07cXjhmMpqzOQuKq5wt/Z93oHDUiAhtgDawEf5kKYgdZ4PDbWZgDsUodl0bHIcm2gPFTHYvO3km18zW5WODwa6/2CaQoJkbrM+eZTLCCH04= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=tqjqf/Ca; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 4DAE8C4AF55; Wed, 12 Jun 2024 15:55:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718207757; bh=9xEyt5u+0FV1WdcJW4h5qgOf/lShmIROJbiYfAkCp2U=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=tqjqf/CaZet/Ag6j0poWxHb7HiKEaaK5YcB+GOgaujeGm/CTqmmR7Dpwe85nwoQwx c+V3kMPqdBP5Myz+65pVxE9oMiIsFN+BmWMtmf5VxY3oM8ksEzKlEKW+DmWNbZ/ku2 fRhru4Rg96vBywd/pCW4BzWif/u0wRSZeSnfWgdUxLunAclTnW6cs75Go5DXZcAw2Q g7YKYNh1qexFpttb3MBCSKwtSuupJSXB6BfjE+gPOUhLGtj6l+dWeCfIVQ3z3mNFcv XYN2CjEu7HC5eZuPCf3f7G3R1emFMsBGz9nJm11Ps9Q3llkAWvIl0kTwNfVqd5AdBU sDaj/b6+rK7QQ== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 3FEEEC43616; Wed, 12 Jun 2024 15:55:57 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [f2fs-dev] [PATCH] f2fs: fix return value of f2fs_convert_inline_inode() From: patchwork-bot+f2fs@kernel.org Message-Id: <171820775725.32393.9431930880169031046.git-patchwork-notify@kernel.org> Date: Wed, 12 Jun 2024 15:55:57 +0000 References: <20240603010745.2246488-1-chao@kernel.org> In-Reply-To: <20240603010745.2246488-1-chao@kernel.org> To: Chao Yu Cc: jaegeuk@kernel.org, syzbot+848062ba19c8782ca5c8@syzkaller.appspotmail.com, linux-kernel@vger.kernel.org, stable@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net Hello: This patch was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim : On Mon, 3 Jun 2024 09:07:45 +0800 you wrote: > If device is readonly, make f2fs_convert_inline_inode() > return EROFS instead of zero, otherwise it may trigger > panic during writeback of inline inode's dirty page as > below: > > f2fs_write_single_data_page+0xbb6/0x1e90 fs/f2fs/data.c:2888 > f2fs_write_cache_pages fs/f2fs/data.c:3187 [inline] > __f2fs_write_data_pages fs/f2fs/data.c:3342 [inline] > f2fs_write_data_pages+0x1efe/0x3a90 fs/f2fs/data.c:3369 > do_writepages+0x359/0x870 mm/page-writeback.c:2634 > filemap_fdatawrite_wbc+0x125/0x180 mm/filemap.c:397 > __filemap_fdatawrite_range mm/filemap.c:430 [inline] > file_write_and_wait_range+0x1aa/0x290 mm/filemap.c:788 > f2fs_do_sync_file+0x68a/0x1ae0 fs/f2fs/file.c:276 > generic_write_sync include/linux/fs.h:2806 [inline] > f2fs_file_write_iter+0x7bd/0x24e0 fs/f2fs/file.c:4977 > call_write_iter include/linux/fs.h:2114 [inline] > new_sync_write fs/read_write.c:497 [inline] > vfs_write+0xa72/0xc90 fs/read_write.c:590 > ksys_write+0x1a0/0x2c0 fs/read_write.c:643 > do_syscall_x64 arch/x86/entry/common.c:52 [inline] > do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 > entry_SYSCALL_64_after_hwframe+0x77/0x7f > > [...] Here is the summary with links: - [f2fs-dev] f2fs: fix return value of f2fs_convert_inline_inode() https://git.kernel.org/jaegeuk/f2fs/c/a8eb3de28e7a You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html