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 EDDE0C61DEB for ; Sat, 21 Feb 2026 20:04:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.sourceforge.net; s=beta; h=Content-Transfer-Encoding:Content-Type:Cc: Reply-To:From:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Subject:In-Reply-To:MIME-Version:References: Message-ID:To:Date:Sender:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=3uTxQQAR6eje62fM48MVQHY1Lv2a849u4KCZlUiZH1M=; b=hN/YvyAWXpfBjJdFVnfEC6/fp5 dCsZQGaOQSQxARcmozOe0P3Jk36IHNoS9ieVwnFEkQu3vEHjTtuSU+Ff5sckhhK2Q1WWkEmej47En toTT9z+snHbdgYpV3mhJvmqu81MOEiv6OwimAnYUKYrGDkB0hvOQNhPkftIM8ICD95Ls=; 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 1vttCo-0002sE-PI; Sat, 21 Feb 2026 20:03:58 +0000 Received: from [172.30.29.66] (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 1vttCn-0002ry-Eu for linux-f2fs-devel@lists.sourceforge.net; Sat, 21 Feb 2026 20:03:57 +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=FSJ82d+sAzOOIffqCdt0h910MQHz2A3ao9YgvURAiVo=; b=m2IVrkwEko3AagFQNps2UWAIu3 emUWpTYKeT1pXOc7D6T/nsOsyj2a6XJk/NfFVyM97+6gtc2xqi4R9EyJw4K0wfHakSXRAm4Gk7WoO nAgy6ussacW16PaNp2LSy7DPwMAysmgMmfz825yJpAhfhXRvM4ReL6EE7902XI9uxD2I=; 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=FSJ82d+sAzOOIffqCdt0h910MQHz2A3ao9YgvURAiVo=; b=MKu1U9/mdMXxPh4L0zaL2kLAUn c7SDG4+Algsl7bJWyiYrGFKFBQcsvtpTROgF6msaeyWOXOmMoX1IQAsS/8f7Pvgc+5eY4Su/gILXz bWpCR58d7ai60zK5pU1IZdIPkFz3TbQEu9tdLiKXdde941h9ZdOAkF04k32HbVoGef9Y=; Received: from sea.source.kernel.org ([172.234.252.31]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1vtswj-0002uS-Fu for linux-f2fs-devel@lists.sourceforge.net; Sat, 21 Feb 2026 19:47:21 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id 1469943968; Sat, 21 Feb 2026 19:47:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9D4F4C4CEF7; Sat, 21 Feb 2026 19:47:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1771703230; bh=+Lml4KArtsOCi5pvVS/O/dpytCcmSTUlIcJifnlJFd4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=oZ9sJa10y84CZ5/eOp0f3PDnfgoLrpv8H4nZHgyDKOe5krFzC0L1WMqYXMQnAC2nB tbiKSihxbaa1i831qZ4QbOC/pAbF14wcc+QnSESdEj5Av1fofrw4g+fxbsN64O//rQ sQsHen82gDPeJ5lUbKfupjfHYoGmxAF38HSRnJPJeJueOQE7qxs26gSn/3fXANU3xO uO3iSPrNADCHffxawoLnKmiL+hs+UHGAn5+UYbh4wgeohPgVFJn6UqtoBMiAs6+E6N zcvfS8pd6vDZkh8mNNQ+HRUFHD5lQ18cmsyO31kczSbmmpzZqQX6JKzQB4puy7Q+Kb iwE7nZosrTlFQ== Date: Sat, 21 Feb 2026 11:47:08 -0800 To: Christoph Hellwig Message-ID: <20260221194708.GD2536@quark> References: <20260218061531.3318130-1-hch@lst.de> <20260218061531.3318130-7-hch@lst.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20260218061531.3318130-7-hch@lst.de> X-Headers-End: 1vtswj-0002uS-Fu Subject: Re: [f2fs-dev] [PATCH 6/9] fscrypt: return a byte offset from bh_get_inode_and_lblk_num 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: , From: Eric Biggers via Linux-f2fs-devel Reply-To: Eric Biggers Cc: Christian Brauner , "Theodore Y. Ts'o" , "Darrick J. Wong" , linux-f2fs-devel@lists.sourceforge.net, linux-fscrypt@vger.kernel.org, Andreas Dilger , linux-fsdevel@vger.kernel.org, Jaegeuk Kim , 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 Wed, Feb 18, 2026 at 07:14:44AM +0100, Christoph Hellwig wrote: > @@ -331,7 +331,7 @@ static bool bh_get_inode_and_lblk_num(const struct buffer_head *bh, > inode = mapping->host; > > *inode_ret = inode; > - *lblk_num_ret = (folio_pos(folio) + bh_offset(bh)) >> inode->i_blkbits; > + *pos_ret = folio_pos(folio) + bh_offset(bh); > return true; > } Rename bh_get_inode_and_lblk_num() to bh_get_inode_and_pos() to reflect the new semantics. (And s/logical block number/file position/ in the comment above it) - Eric _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel