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: 931755 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-ext4-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=infradead.org header.i=@infradead.org header.b="fKFnw6uy"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 419DJY73trz9s4v for ; Wed, 20 Jun 2018 02:42:05 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030267AbeFSQmC (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-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org 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