Delivered-To: trondmy@gmail.com
Received: by 10.107.39.135 with SMTP id n129csp1328777ion; Sun, 8 Feb 2015
 20:25:43 -0800 (PST)
X-Received: by 10.112.53.137 with SMTP id b9mr14522749lbp.66.1423455942142;
 Sun, 08 Feb 2015 20:25:42 -0800 (PST)
Return-Path: <sfr@canb.auug.org.au>
Received: from mail-forward4.uio.no (mail-forward4.uio.no.
 [2001:700:100:10::33]) by mx.google.com with ESMTPS id
 c7si7954950laa.63.2015.02.08.20.25.40 for <trondmy@gmail.com>
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 08
 Feb 2015 20:25:41 -0800 (PST)
Received-SPF: none (google.com: sfr@canb.auug.org.au does not designate
 permitted sender hosts) client-ip=2001:700:100:10::33;
Authentication-Results: mx.google.com; spf=none (google.com:
 sfr@canb.auug.org.au does not designate permitted sender hosts)
 smtp.mail=sfr@canb.auug.org.au
Received: from exim by mail-out4.uio.no with local-bsmtp (Exim 4.80.1)
 (envelope-from <sfr@canb.auug.org.au>) id 1YKfum-0007B4-7J for
 trondmy@gmail.com; Mon, 09 Feb 2015 05:25:40 +0100
Received: from mail-mx2.uio.no ([129.240.10.30]) by mail-out4.uio.no with
 esmtp (Exim 4.80.1) (envelope-from <sfr@canb.auug.org.au>) id
 1YKfum-0007B0-69 for trondmy@gmail.com; Mon, 09 Feb 2015 05:25:40 +0100
Received: from ozlabs.org ([103.22.144.67]) by mail-mx2.uio.no with esmtps
 (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.80) (envelope-from
 <sfr@canb.auug.org.au>) id 1YKful-0005sa-9T for trond.myklebust@fys.uio.no;
 Mon, 09 Feb 2015 05:25:40 +0100
Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using
 TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client
 certificate requested) by ozlabs.org (Postfix) with ESMTPSA id 9639114012E;
 Mon,  9 Feb 2015 15:25:31 +1100 (AEDT)
Date: Mon, 9 Feb 2015 15:25:26 +1100
From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Jens Axboe <axboe@kernel.dk>, Trond Myklebust
 <trond.myklebust@fys.uio.no>
Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Tom Haynes
 <loghyr@primarydata.com>, Weston Andros Adamson <dros@primarydata.com>, Tao
 Peng <bergwolf@primarydata.com>, Christoph Hellwig <hch@lst.de>
Subject: linux-next: build failure after merge of the block tree
Message-ID: <20150209152526.1f2b749e@canb.auug.org.au>
X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; i586-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/lIBdJTDjWUmiS_SVG5o_Yc_"; protocol="application/pgp-signature"
X-UiO-Spam-info: not spam, SpamAssassin (score=-2.3, required=5.0,
 autolearn=disabled, RCVD_IN_DNSWL_MED=-2.3, uiobl=NO, uiouri=NO)
X-UiO-Scanned: 0674478C028215C185ECFEF09ACB7A7DC9B31E65
X-UiO-SPAM-Test: remote_host: 103.22.144.67 spam_score: -22 maxlevel 30
 minaction 1 bait 0 mail/h: 1 total 11 max/h 2 blacklist 0 greylist 1
 ratelimit 0

--Sig_/lIBdJTDjWUmiS_SVG5o_Yc_
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hi Jens,

After merging the block tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

fs/nfs/flexfilelayout/flexfilelayout.c: In function 'ff_layout_mark_request=
_commit':
fs/nfs/flexfilelayout/flexfilelayout.c:1369:47: error: 'struct address_spac=
e' has no member named 'backing_dev_info'
   inc_bdi_stat(page_file_mapping(req->wb_page)->backing_dev_info,
                                               ^

Caused by commit b83ae6d42143 ("fs: remove mapping->backing_dev_info")
interacting with commit d67ae825a59d ("pnfs/flexfiles: Add the FlexFile
Layout Driver") from the nfs tree.

I have added this merge fix patch (assuming it is correct, someone
needs to tell Linus about this when the trees get merged):

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Mon, 9 Feb 2015 15:20:12 +1100
Subject: [PATCH] pnfs/flexfiles: fix FlexFile Layout Driver for removal
 mapping->backing_dev_info

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 fs/nfs/flexfilelayout/flexfilelayout.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/nfs/flexfilelayout/flexfilelayout.c b/fs/nfs/flexfilelayout=
/flexfilelayout.c
index f29fb7d7e8f8..c22ecaa86c1c 100644
--- a/fs/nfs/flexfilelayout/flexfilelayout.c
+++ b/fs/nfs/flexfilelayout/flexfilelayout.c
@@ -1366,7 +1366,7 @@ ff_layout_mark_request_commit(struct nfs_page *req,
 	spin_unlock(cinfo->lock);
 	if (!cinfo->dreq) {
 		inc_zone_page_state(req->wb_page, NR_UNSTABLE_NFS);
-		inc_bdi_stat(page_file_mapping(req->wb_page)->backing_dev_info,
+		inc_bdi_stat(inode_to_bdi(page_file_mapping(req->wb_page)->host),
 			     BDI_RECLAIMABLE);
 		__mark_inode_dirty(req->wb_context->dentry->d_inode,
 				   I_DIRTY_DATASYNC);
--=20
2.1.4

--=20
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

--Sig_/lIBdJTDjWUmiS_SVG5o_Yc_
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJU2Da7AAoJEMDTa8Ir7ZwVCOYP/2+vvkx3AQSxOvJKyaBxOn6L
jEKSVhKRa0Xf7lj3E5k4RYicqaffkiGBnqfIblsqC2TCboMpKf+0shh02/CWFz76
+7+wveZJ8DPn4hK5WhHTiJiV0FpYND/aANOE1Ho0WIFd5SAaINLqiHIt6AMeiv/Q
gW3aNx9rdBve0Y01Xyt9OklxarG9rNU/yPoQiCI3r/5XNi63Xk3hXx5OAbJozlD2
WD76hNpB6oU1YeBBTKzdroETNIsvgokCPiW9mN60qHUhDenXMhKo3VzFQVjCNZh0
GSbQ0Q1yDsuPz2lKFFwANq55K5T5KY3Q1C2lIgnqm7XE2A5CxNxrLCy5iiDJ8GTM
IXnRCRYbzMGngqSm3P86RZFYqzy96Q/V3xPnzO4vXDODBQqguuyU4ggqGMzf69dp
xNBmqKYDREOz8fAGOEQi7dzOhaCKS7A7db1panv9B3Yzq5uV2QaJtJVMxu+uDRAL
h/YUt4qu93UIGJLAE4MZbsn5/yUB1iWwU7Q2cPm34gWkZuJswxMu49+XFr4Qrvmj
daOSx25PeQYu8TJ3rvE1a6j/s+zPHtJcxXr9FuPCeCmTptzMw31M2lLJ3bneVLnY
JDUPr9JTPxnUO/WEBQOMvpUJBx3o7uBE6hTzD4wRgHllRKaNVxCiiPnonDZzqELQ
8XbL5rWGq3q0sQFkZmBo
=rU1b
-----END PGP SIGNATURE-----

--Sig_/lIBdJTDjWUmiS_SVG5o_Yc_--
