Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp365297imn; Thu, 4 Aug 2022 08:57:13 -0700 (PDT) X-Google-Smtp-Source: AA6agR4EBRqC5IZX/XX/xwkX1F86oxxILovv3WYu+dAEQY9DH82llfwWIO5pm+SnNBxYOiyuKtZb X-Received: by 2002:a17:903:283:b0:16e:f604:1408 with SMTP id j3-20020a170903028300b0016ef6041408mr2475537plr.119.1659628633586; Thu, 04 Aug 2022 08:57:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659628633; cv=none; d=google.com; s=arc-20160816; b=G2Q58DboKJVt+NiWVCKfGqHpJBrNpTS5Qbqtl+uUWIO4hvBZYMBIyiTpV77SfM485e 6endBj8XHZ1i7cgLtaHNmRJzd4ZoqtpTJY2Vs4t4dp/fWHOrgDEhportOcvrgPs+S7ed If/ZSvNT+RCL00wNGzbi+5F1sGC7H/M04WpRjdDbjy5QcycPUQMYI7PQcJqsczFA1ZDk rBEnClzLvh3vDNEk8w4kM+cuXhi7/M0+r9+Mw0BKShgtJd102Wlw1L7SskChAZEG0YuO 1szL9hkiKtrQUxQeMgtQFd7/dR2UoPBR8+1LMMUXK/0vnT//O2XK5P7NjsBgS1iGQAJ8 0EOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:mail-followup-to:reply-to:message-id :subject:cc:to:from:date:dkim-signature:dkim-signature; bh=9vqM3B55556WrkSb/OXBXnK58c5Ih8NOpEHlhkqemA4=; b=m8ALM9Pzb4q2ZKzwgZQpe3wR1mD8qHBuBc4j5Vt/NXhyjDF11JqwpzdXCZAvSnFR7h 5l76QZVas1wkdF3Mbkjiy2R/6qfze45fiqglb155nQYrfxohigHUJNeCwFOnG78ZcREO ZOGXs90HMaIJjZcLpBJJNpA+WICmxMpUbKpSkj/6qmN0FkUG+K9Y4tsUy3c4QAjV3ugk m6PbEHTQr7dxwQt+wI/UHQwrVuv4+84yeTBcerZwzV7G8PHcMCMSjYR/0O22n9vz71ge jagHUMzzDyS6X9xAJQO4IgZNOoOGEIpmUKrZTF5a9NOoYLwj4m36IATQzS1gwCdzQ0yw DG3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=rNHv8QiN; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b=qsfVFAyl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e11-20020a63544b000000b0041b4bbaeb6bsi157158pgm.327.2022.08.04.08.56.59; Thu, 04 Aug 2022 08:57:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=rNHv8QiN; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b=qsfVFAyl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240062AbiHDOz4 (ORCPT + 99 others); Thu, 4 Aug 2022 10:55:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37170 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239980AbiHDOzy (ORCPT ); Thu, 4 Aug 2022 10:55:54 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C5E61CB36; Thu, 4 Aug 2022 07:55:54 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 553BF5BD9F; Thu, 4 Aug 2022 14:55:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1659624951; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=9vqM3B55556WrkSb/OXBXnK58c5Ih8NOpEHlhkqemA4=; b=rNHv8QiNy3c5z8yVJYDxDTuMZdudL77DDEKwQScGWzveekPm6K6d92Eigi3//1z18P+j6T RIBk2A9+Gbr/GaG2LQxCIKam5jar59qcEluUyW+jEfFYSJEX8asRo/4CPEA/glwkOL3smh GG2PYfSwMM3DbGo8ER53fwfpz2KVsng= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1659624951; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=9vqM3B55556WrkSb/OXBXnK58c5Ih8NOpEHlhkqemA4=; b=qsfVFAylGeEqH5umlWB9oet2ZyR410Fy05HQBAnbpgYI4e03uyEiOpEcA7GMckUO5MF1So TftfKIPExmNcPRCA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 2244513A94; Thu, 4 Aug 2022 14:55:51 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id vtRSB/fd62IaAwAAMHmgww (envelope-from ); Thu, 04 Aug 2022 14:55:51 +0000 Date: Thu, 4 Aug 2022 16:50:48 +0200 From: David Sterba To: Sweet Tea Dorminy Cc: Chris Mason , Josef Bacik , David Sterba , linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@fb.com, Omar Sandoval Subject: Re: [PATCH] btrfs: change btrfs_insert_file_extent() to btrfs_insert_hole_extent() Message-ID: <20220804145048.GS13489@twin.jikos.cz> Reply-To: dsterba@suse.cz Mail-Followup-To: dsterba@suse.cz, Sweet Tea Dorminy , Chris Mason , Josef Bacik , David Sterba , linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@fb.com, Omar Sandoval References: <41e212570f521d9c0838b5ab8e66da0f942c7f46.1658615058.git.sweettea-kernel@dorminy.me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41e212570f521d9c0838b5ab8e66da0f942c7f46.1658615058.git.sweettea-kernel@dorminy.me> User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jul 23, 2022 at 06:25:29PM -0400, Sweet Tea Dorminy wrote: > From: Omar Sandoval > > btrfs_insert_file_extent() is only ever used to insert holes, so rename > it and remove the redundant parameters. > > Signed-off-by: Omar Sandoval > Signed-off-by: Sweet Tea Dorminy Added to misc-next, thanks. The patch is from long ago so there was probably intention to do more than just inserting hole but I don't remember any pending feature that would use the helper. If we need it it can be extended again.