Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3177812ybz; Mon, 27 Apr 2020 11:21:01 -0700 (PDT) X-Google-Smtp-Source: APiQypLyWENBX/PAT5OAy87gLzZrTEhmBn3V4fj7MWBRjILppU45p0h6PQVjys1Mii7iLvOoXssE X-Received: by 2002:a17:906:d0da:: with SMTP id bq26mr20317863ejb.344.1588011661189; Mon, 27 Apr 2020 11:21:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588011661; cv=none; d=google.com; s=arc-20160816; b=NMgKlNv17AGdTfTHtyQI6U0QJCTviSx68GX6Q/4zvcZXqfP3z+OEhDnZj+R9JvVsRY F8bw8pUBlE/j5GPP72WizC/uFvP/wKKGS0UpV7pSRe8f/YOoHdTguY38aN+El2FS0lyT lhQoDPlLk63Ix6vxuJL6F3mdHOfw/d2Ezu/VDvVMa1qOt3suYsahaGNwahUK6iBZG4ny BX3eTePen+xOQu+PBMJ5HF9UVT0QaUwJ4b/qJm6gjFeTDRt2zAiT3LCtDxsjyS5iWkhk D9d3jTJMXYh3w1h5WMlLOuHsrvP9lqoLqWr2oZ43R3xAHgXnwuEJzJo5L6QBS46g9oZz c1YA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=D/ssPkWmDzAnmroUrBtklToL+PcgWRtAJglEt4/mTZQ=; b=uZqujXxxkjMB7vqJCtqVtP1a4qzfvvkCu7c9kO21oOP4sZP0T+sdxOUGlErsMlEoVT jZKvkzIx0Es7NpzXwqh0huyI8ur+ohgU2u8NZ6CMP36reZDuHvwb/xAFAn7PedWZCcRc 2Ey1ZnhLCVjZRtwSCXLYTuDOpTGcl4YEOzHMQVzv1sca+FUr3z94YkpjOW3tcxxY0ADJ KqJVeX+abNcySPE6M4H05iF4TcTjr6zuv+a5/xbhQt513gPE3tdHrSABsEom6Z//LwsU PBrQ2UYYLfl/hwz7Ec3Cr92fJ8I8CUpUHFsSvIPbgY7kvttm9LBkTdE7wzCj81b6AQHW /PSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=GYrMVKe8; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p16si206646eja.354.2020.04.27.11.20.37; Mon, 27 Apr 2020 11:21:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=GYrMVKe8; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726526AbgD0SUR (ORCPT + 99 others); Mon, 27 Apr 2020 14:20:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726519AbgD0SUQ (ORCPT ); Mon, 27 Apr 2020 14:20:16 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9CD56C0610D5; Mon, 27 Apr 2020 11:20:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=D/ssPkWmDzAnmroUrBtklToL+PcgWRtAJglEt4/mTZQ=; b=GYrMVKe83AmFMQ8KTkcoioN+Ir KNlqFmhlCqOCNyf5MGfdf2NamCxbtbCrfh5T81IX53hfcy+HNaaJYZpa9UF1dhDYzfg5T18T0oX6e EsEyshCql6D6BRrovV3sXh0BbuuXMUWfZ0r7mg0s0zQtApPjdQEf+x7KCqnDQ/ivG4YSnm64aeByV NLeV/bSKnr+A6zP25MCbO52CgsrSmeDMH/tGJ77ntJDgj4jlxyUzUBHvDz5xzvJoV3ZYP/pgEjKsY mYu9PEcDnxG1R65/VQzpwPelIUsLb2nhzjhenXIBrKUJ13JjNio7aPE/kBSHrMjLBJjQS7MJ7K3mT uJvSrCsg==; Received: from [2001:4bb8:193:f203:c70:4a89:bc61:2] (helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jT8Ma-0004Yo-42; Mon, 27 Apr 2020 18:20:16 +0000 From: Christoph Hellwig To: linux-ext4@vger.kernel.org, viro@zeniv.linux.org.uk Cc: jack@suse.cz, tytso@mit.edu, adilger@dilger.ca, riteshh@linux.ibm.com, amir73il@gmail.com, linux-fsdevel@vger.kernel.org, linux-unionfs@vger.kernel.org Subject: [PATCH 07/11] iomap: fix the iomap_fiemap prototype Date: Mon, 27 Apr 2020 20:19:53 +0200 Message-Id: <20200427181957.1606257-8-hch@lst.de> X-Mailer: git-send-email 2.26.1 In-Reply-To: <20200427181957.1606257-1-hch@lst.de> References: <20200427181957.1606257-1-hch@lst.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org iomap_fiemap should take u64 start and len arguments, just like the ->fiemap prototype. Signed-off-by: Christoph Hellwig --- fs/iomap/fiemap.c | 2 +- include/linux/iomap.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/iomap/fiemap.c b/fs/iomap/fiemap.c index fca3dfb9d964a..dd04e4added15 100644 --- a/fs/iomap/fiemap.c +++ b/fs/iomap/fiemap.c @@ -66,7 +66,7 @@ iomap_fiemap_actor(struct inode *inode, loff_t pos, loff_t length, void *data, } int iomap_fiemap(struct inode *inode, struct fiemap_extent_info *fi, - loff_t start, loff_t len, const struct iomap_ops *ops) + u64 start, u64 len, const struct iomap_ops *ops) { struct fiemap_ctx ctx; loff_t ret; diff --git a/include/linux/iomap.h b/include/linux/iomap.h index 8b09463dae0db..63db02528b702 100644 --- a/include/linux/iomap.h +++ b/include/linux/iomap.h @@ -178,7 +178,7 @@ int iomap_truncate_page(struct inode *inode, loff_t pos, bool *did_zero, vm_fault_t iomap_page_mkwrite(struct vm_fault *vmf, const struct iomap_ops *ops); int iomap_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo, - loff_t start, loff_t len, const struct iomap_ops *ops); + u64 start, u64 len, const struct iomap_ops *ops); loff_t iomap_seek_hole(struct inode *inode, loff_t offset, const struct iomap_ops *ops); loff_t iomap_seek_data(struct inode *inode, loff_t offset, -- 2.26.1