From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EE6B1C43219 for ; Wed, 1 May 2019 07:05:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B21CF20835 for ; Wed, 1 May 2019 07:05:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b="LHYyTv4G" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726120AbfEAHFe (ORCPT ); Wed, 1 May 2019 03:05:34 -0400 Received: from ozlabs.org ([203.11.71.1]:56337 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726005AbfEAHFe (ORCPT ); Wed, 1 May 2019 03:05:34 -0400 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 44v8YP4VZBz9sNd; Wed, 1 May 2019 17:05:29 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au; s=201702; t=1556694330; bh=H78FQu9SpnuRMOp9Q2aUPeBz2X0+RDV0R0hJiMBJT94=; h=Date:From:To:Cc:Subject:From; b=LHYyTv4GK6vYjhdNmx7H1FFf8DPtWG4CvbkiLv5uKOl3Ojm32MyjQbU3gS/JD+BKp PAginysuvnXTwsMEvpHEhbUgLPvexYjDdT1PGRzE+X8C0sGYrGVc1d+Aqoo1pb7ILn aeWwrjdVNq54FO2trOrdPgAXBVB/K29wEL6yp53y1Vy3db0eeFv8XwUHqQPKnDBcyn QI9+d93W5bLyDuNWXZehTJaXermOmzls6Sl+Fy8jGlflY16yswgzhmCKZ82iHH7M2T /cqyFrzC3wYe1al91oXdkNxe59tzUHfoiUMrKYfaxZ490OGHakOoulQuH/iY2m+0l8 jCqbxKCDxSEEQ== Date: Wed, 1 May 2019 17:05:28 +1000 From: Stephen Rothwell To: Greg KH , Jens Axboe Cc: Linux Next Mailing List , Linux Kernel Mailing List , Christoph Hellwig , Gao Xiang Subject: linux-next: manual merge of the staging tree with the block tree Message-ID: <20190501170528.2d86d133@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/j8scqH+9aWZlWLslHF3vj3c"; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/j8scqH+9aWZlWLslHF3vj3c Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, Today's linux-next merge of the staging tree got conflicts in: drivers/staging/erofs/data.c drivers/staging/erofs/unzip_vle.c between commit: 2b070cfe582b ("block: remove the i argument to bio_for_each_segment_all") from the block tree and commit: 14a56ec65bab ("staging: erofs: support IO read error injection") from the staging tree. I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts. --=20 Cheers, Stephen Rothwell diff --cc drivers/staging/erofs/data.c index 9f04d7466c55,c64ec76643d4..000000000000 --- a/drivers/staging/erofs/data.c +++ b/drivers/staging/erofs/data.c @@@ -17,11 -17,18 +17,17 @@@ =20 static inline void read_endio(struct bio *bio) { + struct super_block *const sb =3D bio->bi_private; - int i; struct bio_vec *bvec; - const blk_status_t err =3D bio->bi_status; + blk_status_t err =3D bio->bi_status; struct bvec_iter_all iter_all; =20 + if (time_to_inject(EROFS_SB(sb), FAULT_READ_IO)) { + erofs_show_injection_info(FAULT_READ_IO); + err =3D BLK_STS_IOERR; + } +=20 - bio_for_each_segment_all(bvec, bio, i, iter_all) { + bio_for_each_segment_all(bvec, bio, iter_all) { struct page *page =3D bvec->bv_page; =20 /* page is already locked */ diff --cc drivers/staging/erofs/unzip_vle.c index 59b9f37d5c00,a2e03c932102..000000000000 --- a/drivers/staging/erofs/unzip_vle.c +++ b/drivers/staging/erofs/unzip_vle.c @@@ -843,14 -844,13 +844,12 @@@ static void z_erofs_vle_unzip_kickoff(v =20 static inline void z_erofs_vle_read_endio(struct bio *bio) { - const blk_status_t err =3D bio->bi_status; + struct erofs_sb_info *sbi =3D NULL; + blk_status_t err =3D bio->bi_status; - unsigned int i; struct bio_vec *bvec; - #ifdef EROFS_FS_HAS_MANAGED_CACHE - struct address_space *mc =3D NULL; - #endif struct bvec_iter_all iter_all; =20 - bio_for_each_segment_all(bvec, bio, i, iter_all) { + bio_for_each_segment_all(bvec, bio, iter_all) { struct page *page =3D bvec->bv_page; bool cachemngd =3D false; =20 --Sig_/j8scqH+9aWZlWLslHF3vj3c Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAlzJRTgACgkQAVBC80lX 0GwE4gf+Mpm+qnKSJT7tBje9yeq/xbwDiknnJrgV+GukcWJeAt3F91KiTQ+SZkjN rL5gpg5jg/Msz32nkfcr/2LFHAgnZIEwFg84K26tMFWm0XZ9ALOKnEPgS2M8Rc1J BXhM/YwDJ2ONn/ZK30Y3tyrmfRlHbQpDDZi9lvTLo6x8YADT3LoghSEFj5Rgj+6C 3U2AZlE+ZMzn3yzNmm8wD2WYr26OIgCXBa0Ezw91yuGReD7uSujKiR2vzOgF9+k0 4Ut8Y2/qguqzupKsqRa8ACWV/kG0l5H998j7CK87QQMiAO68sB0UEF4Iu/BAvixJ iLrZmiOfbQNk29cz3mFx4sTiMGBnVA== =OYUP -----END PGP SIGNATURE----- --Sig_/j8scqH+9aWZlWLslHF3vj3c--