From patchwork Tue Jun 19 16:41:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoph Hellwig X-Patchwork-Id: 10475073 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8AC476029B for ; Tue, 19 Jun 2018 16:42:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7BD0328B64 for ; Tue, 19 Jun 2018 16:42:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7052D28D9C; Tue, 19 Jun 2018 16:42:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 20BB228D4E for ; Tue, 19 Jun 2018 16:42:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030266AbeFSQmC (ORCPT ); Tue, 19 Jun 2018 12:42:02 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:55838 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030250AbeFSQmA (ORCPT ); Tue, 19 Jun 2018 12:42:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=References:In-Reply-To:Message-Id: Date:Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: 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=clB5jBCHxnDidKPJuJCH8BMFgAVUGSoZSfC6+xOvosg=; b=fKFnw6uyE4eZ77h21GrD+VaQ7 Hd1bcczSEGmg9UlNGm0XnaNYSYx0GHITHIM8nGik3ReZ28EN+87RhJ2SBpucoEiwME/RoVGsdpLLU mOtsjsgDU3jrJwyRHFStDnUFTlSuE3FXXShwo+N+bp4gnO8HRaWXzmYEWpdwdCetEFTRd7Y7wEA9e g8bhSdMYfXGfuCqrrc5edg2ioQGXATAp2TFKXTGICqfSMPN4SiyiXqjb/wzcKFWwVVZulgCeBzLjF SyQXrV+2P5f92eL1lT8sSSPu21FvRVBDk7eoru3idcJsyGnonB2bcR94HQpjQm46Oi1vcJWqodqzQ mjVFEeAyw==; Received: from 089144192009.atnat0001.highway.a1.net ([89.144.192.9] helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fVJhf-0008Hg-NX; Tue, 19 Jun 2018 16:42:00 +0000 From: Christoph Hellwig To: Andreas Gruenbacher , linux-xfs@vger.kernel.org Cc: Dan Williams , linux-fsdevel@vger.kernel.org, cluster-devel@redhat.com, linux-ext4@vger.kernel.org Subject: [PATCH 6/6] iomap: add private pointer to struct iomap Date: Tue, 19 Jun 2018 18:41:36 +0200 Message-Id: <20180619164137.13720-7-hch@lst.de> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180619164137.13720-1-hch@lst.de> References: <20180619164137.13720-1-hch@lst.de> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-xfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-xfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Andreas Gruenbacher Add a private pointer to struct iomap to allow filesystems to pass data from iomap_begin to iomap_end. Will be used by gfs2 for passing on the on-disk inode buffer head. Signed-off-by: Andreas Gruenbacher Signed-off-by: Christoph Hellwig --- include/linux/iomap.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/iomap.h b/include/linux/iomap.h index 45f43865b0f0..1f36523d448a 100644 --- a/include/linux/iomap.h +++ b/include/linux/iomap.h @@ -57,6 +57,7 @@ struct iomap { struct block_device *bdev; /* block device for I/O */ struct dax_device *dax_dev; /* dax_dev for dax operations */ void *inline_data; + void *private; /* filesystem private */ /* * Called when finished processing a page in the mapping returned in