Received: by 2002:ab2:7a55:0:b0:1f4:4a7d:290d with SMTP id u21csp290362lqp; Thu, 4 Apr 2024 13:17:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXrRna9OmFlLFJeH/dOOGI8ACTDqvsv0j0oR1xSflNg1JPX+xvmp5giGA00KqXcBnl02HaEBOHbszzfc9Ruyqb+h91YzFrUzWcvUXiRFg== X-Google-Smtp-Source: AGHT+IHtIrW9OtYKq7cCzxwMIDmnyulYe9aQA0DRorS1UFPaEZ7CbeFgCC48zIhJNVlSWd6t5jNl X-Received: by 2002:a9d:6ad9:0:b0:6e6:8564:6672 with SMTP id m25-20020a9d6ad9000000b006e685646672mr3178199otq.25.1712261867956; Thu, 04 Apr 2024 13:17:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712261867; cv=pass; d=google.com; s=arc-20160816; b=Wi2ixLlfzS+ImWvKFifWBMV+w4YGahZfeVs9wqRD7acbr2DMo4qzB15ZWcvpPzghSu afQ2gQ62JvkL93jGWMVC/0d/TON/CT6URP1Rh0+9sUpV9o1JslPdT+p2dOLT3qvTTViy p9Ck51DTQJEIGPQnOCDYIaIfh43fh7ApOYKWD1y2KOh0jqRMbGVCIv8yWbQdjVB1GYOc wkmuO3HBtDnp92z5+OBicOOjTi9Brcrn5egDES22ErrFKIs0yEdQxbC5HG2/OcHkqRRW fT/+NxS1SvlyLQPQiidN+wpuh3z52T54UM3vets9IOChPc8DXF8vsf1wqxKjnADU8Gv9 YXZg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:to:from:dkim-signature; bh=nHUERzTQriQp3SYpHVa/LAE/foJxtB3YfebKGOnOWXQ=; fh=5xpXEVHA7ULft/JHqM87S8vqz30WiVdsBWxEbwY87G4=; b=vSrfgnOyxJKmXK1Ea+SPpotbP5EkHQpikpoR7bag7f69P25Q+3C4LpQrzjEnsQRVZ4 gLSjDXHtT4yDbSu8iYJIE96N3+kypaTNth7icIh9rx2NDjmD1zAiZRv0jBXTq8rp8G2l y8Cvem+ssrUpej7J/zUo2/BJb4Aj4IaSwGKsptbq6+yMBxsF7OlkaxQO/EoX/dUxCxYo MHqLfU7I18/4J3WX6gsQQ7aD66uGc/flbnNh13MsCjIDyV9TgYtHL8F2WviNQpNNIwW/ gP80Ldvgrg3IYYoswiv0cXf1uhqmbajVQ3jqx6qB2wqzwv/HErJGXTWB+GVZyW+szwto jKXw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@dorminy.me header.s=mail header.b=k9adrlje; arc=pass (i=1 spf=pass spfdomain=dorminy.me dkim=pass dkdomain=dorminy.me dmarc=pass fromdomain=dorminy.me); spf=pass (google.com: domain of linux-kernel+bounces-129176-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129176-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=dorminy.me Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id l8-20020a05620a28c800b0078bea8278a9si163445qkp.25.2024.04.04.13.17.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Apr 2024 13:17:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-129176-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@dorminy.me header.s=mail header.b=k9adrlje; arc=pass (i=1 spf=pass spfdomain=dorminy.me dkim=pass dkdomain=dorminy.me dmarc=pass fromdomain=dorminy.me); spf=pass (google.com: domain of linux-kernel+bounces-129176-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129176-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=dorminy.me 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id BE60C1C24C31 for ; Wed, 3 Apr 2024 07:35:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9ABF05D725; Wed, 3 Apr 2024 07:33:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=dorminy.me header.i=@dorminy.me header.b="k9adrlje" Received: from box.fidei.email (box.fidei.email [71.19.144.250]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7BAEF73196; Wed, 3 Apr 2024 07:33:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=71.19.144.250 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712129602; cv=none; b=GrB/GBvko3XkOnvjIaeSBdQDvKzwWqyQHUkkygkAs24shNuleAJw8KwNGkybZ4ctLclX4YbEmWsvLFoJJNiYhT6fxgi0k69azLRT2mBQdh5paNU/fJoM+t/dr8CslRiN26bxMfkkFaiEEYrP4C1FNPWhmtHCT4bARqK6Zv5uIuk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712129602; c=relaxed/simple; bh=HBGmAcZ8dQDWLxuQ2gZciGzNPLnws2Iv6wSJvdOp678=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=P/A3NA+m2X9domVtMoKqiyyrOECQ0d5KcrZrT5WJ85K8OLZC7uAnMbaFegtS1r1sZe/oCEBjozLbP4Rc/3OHRPaFmkoe3ZITvSkrdnSGUia0x4wHVNNtJBQUXtk9+6aAmiw3TqRGRigLN3zm0k4ul3OG3ZL4a/ReyG0+TIm8j58= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=dorminy.me; spf=pass smtp.mailfrom=dorminy.me; dkim=pass (2048-bit key) header.d=dorminy.me header.i=@dorminy.me header.b=k9adrlje; arc=none smtp.client-ip=71.19.144.250 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=dorminy.me Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dorminy.me Received: from authenticated-user (box.fidei.email [71.19.144.250]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by box.fidei.email (Postfix) with ESMTPSA id 80DCC8083D; Wed, 3 Apr 2024 03:33:20 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=dorminy.me; s=mail; t=1712129601; bh=HBGmAcZ8dQDWLxuQ2gZciGzNPLnws2Iv6wSJvdOp678=; h=From:To:Subject:Date:In-Reply-To:References:From; b=k9adrljeAgmXUEVqR9T38q7UBFhQ7lETYpMXjsStM0XMGS4eG1T8+pjHdefOZtd+9 b9sbXDAHqGTeEotki3koqBZ7FT1290d4WlsagN6Z1Jb5RTuog38L7ZzYucpSa1d0f4 HrhO5RZg8NIYkyjWEsqcLAnOgMmn4utEi4pAOKEYrQOYjdJh36IxT86WJh3JG4pp1O xCkF4oXlZ89mQ1Ia6EZPk/hwSHK3lgiNW/6Wm5o0rgE/z8dTkDN+l20XOjvG16oIUL bA6z8ZMduHhDyDTpqq0FP2+pz2Eq0VSIBWGUHJdJGV+Y0h8M0aDKiiMOSTHKAOpxIl RTUMic1gQE7cQ== From: Sweet Tea Dorminy To: Jonathan Corbet , Kent Overstreet , Brian Foster , Chris Mason , Josef Bacik , David Sterba , Jaegeuk Kim , Chao Yu , Alexander Viro , Christian Brauner , Jan Kara , =?UTF-8?q?Micka=C3=ABl=20Sala=C3=BCn?= , Sweet Tea Dorminy , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-bcachefs@vger.kernel.org, linux-btrfs@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-fsdevel@vger.kernel.org, kernel-team@meta.com Subject: [PATCH v3 07/13] ext4: fiemap: return correct extent physical length Date: Wed, 3 Apr 2024 03:22:48 -0400 Message-ID: <20935230b7513031ac497e3afe8446650d20fb1e.1712126039.git.sweettea-kernel@dorminy.me> In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Signed-off-by: Sweet Tea Dorminy --- fs/ext4/extents.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c index 2adade3c202a..4874f757e1bd 100644 --- a/fs/ext4/extents.c +++ b/fs/ext4/extents.c @@ -2194,7 +2194,7 @@ static int ext4_fill_es_cache_info(struct inode *inode, while (block <= end) { next = 0; - flags = 0; + flags = FIEMAP_EXTENT_HAS_PHYS_LEN; if (!ext4_es_lookup_extent(inode, block, &next, &es)) break; if (ext4_es_is_unwritten(&es)) -- 2.43.0