Received: by 2002:ab2:3b09:0:b0:1ed:14ea:9113 with SMTP id b9csp21405lqc; Thu, 29 Feb 2024 09:13:37 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU43+sqX8S2RP4KZKdrdSQgMesvq69Quj+QPw5TH+DR8lh7J+ui1OyaqxsGNlTaFXF1Dvc2HdHtj6de/MjhqsSNotmlghiTQ/GinZ97qA== X-Google-Smtp-Source: AGHT+IElLlN+/xBYn9SnRptPtvv2kcs17EfmbIIDpGewzpIAXQel4zcQKmspO856+CKmGATgcJFo X-Received: by 2002:a17:906:2449:b0:a3e:8f38:8d76 with SMTP id a9-20020a170906244900b00a3e8f388d76mr1955747ejb.59.1709226816955; Thu, 29 Feb 2024 09:13:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709226816; cv=pass; d=google.com; s=arc-20160816; b=yW6AWWjEQM9Y1ZcbVHKz5CMnEuUgOaV8ygUZ1Y0VQBw463nkyL5CGMFN1jMvwlFcEk INZ072E6ce2iFlyt66+/3agfhEmrOXpZ1uA9qDTtLHUvlzhW9yFVcKBQfM0ZJGI+h2uK WB4ShhyQL5y8ePC13bp44vpRw3/YCZOQhOq6bLRNr9BFcpxKeQDbJdPAPSu+beTs7iTe gLoTFBvx6mDm4zslH2tKnsCN9E7pP2A0zg6i+fzUslDvc9M14BdgY6jI4S6u9IxfJs+W g0zJp5Vg1nxExcLnk4IQpsyr2Tnm7zwinlUXDAL2Jnole9Py5xB1osKL91gPNyOBl2yW to/A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=P+5zaKFJsjTBt0cd/rLcsQ9DsAF1f6VLNOflwTwkpYY=; fh=bY0NqzffEujOcaYUSF77APrm06oSnO4DaiRN28Ro2WY=; b=R/tlMfKv831rv3aMlx68svldkUGwtRycqlQR4lBaoSTQoed2x6HgpbeLw16aOUVvTB SsBshMvzxNJaAZfambw5upkzpk0C/B2cQ7yFFTa1Bjt5Re8D16LLyB2uYO8CtdUibRw5 jGJK10HqkrSXiCVUHZHXycVqywZRiB9kKXHbgN2e14Ij4951tGoNtT+lm/hNQZKNP3zq ubcEHQOj2D57Ha+X5DVVr5q8r+878dAOLpCSBXT8P35KXYrcwJdDFTLDWgFuNmiVtLrB IbgqGUtnigv2Kigz8jGIG4oZYraTv/HQEA15v5bwfjtL3rRjN3WMOjtfnSQv7dVpq/XO zGxQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZjZmI5ib; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-87151-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-87151-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id lt14-20020a170906fa8e00b00a4442f4efd8si683643ejb.161.2024.02.29.09.13.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 09:13:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-87151-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZjZmI5ib; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-87151-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-87151-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 872421F224DD for ; Thu, 29 Feb 2024 17:13:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5AADA6CC13; Thu, 29 Feb 2024 17:13:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ZjZmI5ib" 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 57E106CBE8; Thu, 29 Feb 2024 17:13:30 +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=1709226810; cv=none; b=YfkltG60bw73jhkxK+wiJChswvMzHuKxwa+2kWmLlkQYvRzVQ3O5DGE1OWf+37oI+aJ86ebb3BqdpnF31JkbzKT72K/nQK5RJtfTM3Fa7JIDw0qw4Ik3OVqurxS017B4gSmzuyRIhI+/3zz6ALQi8i+PyEdyvYNBapCaOJzfzZY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709226810; c=relaxed/simple; bh=2kq4Z9/onssYZXVjNKlfGgKvZyNQFKd2YaHR3Zxh2vc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=K0vUVPfLVdsWP6y8b4qVv4VcCPv/NSwj3AQHqITlCMCdSeOgJa+BEmmNSBAynvPgxT0tmM8GhEm9cgzTdoiNInTWvydfj52TsEVty+HtAQSniY1BVn8XXsvkc7/BFQ/ZC8nqolBTiuLJjdgHTvJBij4ZXkZ9wbhx8sZwY8QNDtE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ZjZmI5ib; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id BBC86C433F1; Thu, 29 Feb 2024 17:13:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709226809; bh=2kq4Z9/onssYZXVjNKlfGgKvZyNQFKd2YaHR3Zxh2vc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ZjZmI5ibYkdCDOqygq7BLfUBtrDw/xZNdkEoIJkm83cVkOUdGwE1hsZXYuHohViex y7ksxXim6PlWxXXXfpiabJ4K9oKVPhptTTDXNuuNtAGMWekk6MSTdXtsoJLo4ajoXP /vke0zm0CmQMlwCiKmtipKAwbKiRmCkm/QNN3WMFjzond4WnAUNJYMOFZzflCTGzmL bAaTUGgCUzAGFkeyweh3ULE/KS8j+Iekix+/tSmdbI3LUIZBDcruXAyOD1J/zKSbGd dEuipll8lawvQtSyF1wqBjxGch+1N4ODZRm+NtOnWTDC7ZEMEnCv5uXyCbfBytUJAc 2Ga3By+LDs8ag== Date: Thu, 29 Feb 2024 09:13:28 -0800 From: Jaegeuk Kim To: Stephen Rothwell Cc: Christian Brauner , Chao Yu , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: manual merge of the vfs-brauner tree with the f2fs tree Message-ID: References: <20240229104140.2927da29@canb.auug.org.au> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240229104140.2927da29@canb.auug.org.au> On 02/29, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the vfs-brauner tree got a conflict in: > > fs/f2fs/super.c > > between commit: > > 5fa6a97d2784 ("f2fs: introduce SEGS_TO_BLKS/BLKS_TO_SEGS for cleanup") fyi; I dropped the above commit in -dev. > > from the f2fs tree and commit: > > 512383ae4910 ("f2fs: port block device access to files") > > from the vfs-brauner tree. > > I fixed it up (see below) and can carry the fix as necessary. This > is now fixed as far as linux-next is concerned, but any non trivial > conflicts should be mentioned to your upstream maintainer when your tree > is submitted for merging. You may also want to consider cooperating > with the maintainer of the conflicting tree to minimise any particularly > complex conflicts. > > -- > Cheers, > Stephen Rothwell > > diff --cc fs/f2fs/super.c > index 09ffdd554f9c,09e82624eff5..000000000000 > --- a/fs/f2fs/super.c > +++ b/fs/f2fs/super.c > @@@ -4206,9 -4265,9 +4206,9 @@@ static int f2fs_scan_devices(struct f2f > } else { > FDEV(i).start_blk = FDEV(i - 1).end_blk + 1; > FDEV(i).end_blk = FDEV(i).start_blk + > - (FDEV(i).total_segments << > - sbi->log_blocks_per_seg) - 1; > + SEGS_TO_BLKS(sbi, > + FDEV(i).total_segments) - 1; > - FDEV(i).bdev_handle = bdev_open_by_path( > + FDEV(i).bdev_file = bdev_file_open_by_path( > FDEV(i).path, mode, sbi->sb, NULL); > } > }