Received: by 10.192.165.148 with SMTP id m20csp2955353imm; Mon, 7 May 2018 04:17:25 -0700 (PDT) X-Google-Smtp-Source: AB8JxZprcsOoQG0mSbGbKAg1kHCggGzRC8yBwTzkNswldB8OB/MBCdr1g2xwC7rnpqa8UGsPCXlm X-Received: by 2002:a17:902:784c:: with SMTP id e12-v6mr25992692pln.60.1525691844990; Mon, 07 May 2018 04:17:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525691844; cv=none; d=google.com; s=arc-20160816; b=RTbOwnflvzJA0Qt4qlv9brcGEht0jE/PADghSL/UnmYtPmaxPd+mzJk++LxvZ5quNi Qq52piUcyLUG60vl0aJDUybrkmJyZzFq18WhVJB8Sti3Rq2L/mQtFTHQeLaKQDalKjt8 IISry8b6/Ojx3MDhMNDwpkr4qLUyyZRjYxaJEy6iYVyLcQCEuOFzXkoZa3IMCGcWzSa3 9jmSM6SpQz++rcM9UcD8xQ1LFPSRVIaegc+5r10Cg+QZOstmpnVLlGu5MgMBednvLNCK ONmzgJVyDRjDn+IcGU/kpDGmWockg8eL04wosHiHMutf65+vtJk3QLgn5wKfZxlDxEOe qOig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=oT7Wm6Crmt4xF/9wLnVuIq/kmoW8Zfe9aUgaV9SAbPg=; b=humGWXMpKKaQVCUb9ylt6xowSyvIiZak8KEkkYBEKgUDJGDoozKvUpWVpUV8adOhVo lByAYU+w9TcwBeRRliLAK+gM7mpBun6dXhvCTrNORHLXWeDGuDUKVaBKBKFsONQjU3dN HMEF0feegfuipRtsz9TnrwHxtaJzy4oYK6Yagn4aAakECHF78fFlmc5sTP1qkqZPkIE9 XdRqQshIUxKk5K2KO9nWF8uO76Vbys7fX1mbCxpCJ0dgrEHmaRShKuQRmFA10FHz/pet uBuJSFq0p/FTOqTND9NQpUSJn8zgdOwCZNGWqsBgBcYnCeh8WA/1+bJXKKjsHeyoSU20 riOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=q2q2XhhY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e29-v6si22053175plj.518.2018.05.07.04.17.10; Mon, 07 May 2018 04:17:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=q2q2XhhY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752036AbeEGLQ6 (ORCPT + 99 others); Mon, 7 May 2018 07:16:58 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:47928 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751794AbeEGLQ5 (ORCPT ); Mon, 7 May 2018 07:16:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; 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=oT7Wm6Crmt4xF/9wLnVuIq/kmoW8Zfe9aUgaV9SAbPg=; b=q2q2XhhYpaKP9mQDYBEijEkH6 ILCqBIB7M/o8SyA6ri50b2B7hOihHi/zXYbjl+ryhQ4KXIKj3SfG9IrUOps++LstqWDd3JfecqtTJ fzmzPloN/QUjgWrFQ3mpC9D8a/0coq+NBIsCDtDao/1YZaZTiDnHvMUiT2SoWRvM/KttTX2qRgetO s2aZe+LDi4hryxFVjIxludgOxj8wPKZ20mnie3UJOPbA8YXDZQiEo4DKLESKj0rW9mYl/eXQjUucU aIsWUrPaxKaHsbesSxiGm9utd9Wino8eVkZ+KF7yl7U8HSqTTD2GZocTMpfRp8r45FH8oE6bdQiz1 +NywSdFrQ==; Received: from willy by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1fFe8L-0000tA-4p; Mon, 07 May 2018 11:16:45 +0000 Date: Mon, 7 May 2018 04:16:44 -0700 From: Matthew Wilcox To: Miklos Szeredi Cc: Al Viro , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Amir Goldstein Subject: Re: [PATCH 2/3] vfs: dedupe: rationalize args Message-ID: <20180507111644.GB18116@bombadil.infradead.org> References: <20180507082108.28186-1-mszeredi@redhat.com> <20180507082108.28186-3-mszeredi@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180507082108.28186-3-mszeredi@redhat.com> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 07, 2018 at 10:21:07AM +0200, Miklos Szeredi wrote: > @@ -1738,7 +1738,7 @@ struct file_operations { > loff_t, size_t, unsigned int); > int (*clone_file_range)(struct file *, loff_t, struct file *, loff_t, > u64); > - s64 (*dedupe_file_range)(struct file *, u64, u64, struct file *, > + s64 (*dedupe_file_range)(struct file *, loff_t, struct file *, loff_t, > u64); Please name the parameters here ... + loff_t (*dedupe_file_range)(struct file *src, loff_t src_off, + struct file *dst, loff_t dst_off, loff_t len);