Message ID | 04c9978ccaa0fc9871cd4248356638d98daccf0c.1685532726.git.johannes.thumshirn@wdc.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id E556EC77B7C for <linux-mm@archiver.kernel.org>; Wed, 31 May 2023 11:51:25 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 7CE916B0098; Wed, 31 May 2023 07:51:25 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 77E4A8E0002; Wed, 31 May 2023 07:51:25 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 66DA66B009A; Wed, 31 May 2023 07:51:25 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id 590546B0098 for <linux-mm@kvack.org>; Wed, 31 May 2023 07:51:25 -0400 (EDT) Received: from smtpin08.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 37D8080362 for <linux-mm@kvack.org>; Wed, 31 May 2023 11:51:25 +0000 (UTC) X-FDA: 80850384930.08.49AD38F Received: from esa4.hgst.iphmx.com (esa4.hgst.iphmx.com [216.71.154.42]) by imf10.hostedemail.com (Postfix) with ESMTP id 44BF6C0024 for <linux-mm@kvack.org>; Wed, 31 May 2023 11:51:23 +0000 (UTC) Authentication-Results: imf10.hostedemail.com; dkim=pass header.d=wdc.com header.s=dkim.wdc.com header.b=GlSHO6Rv; dmarc=pass (policy=quarantine) header.from=wdc.com; spf=pass (imf10.hostedemail.com: domain of "prvs=508ef2a02=johannes.thumshirn@wdc.com" designates 216.71.154.42 as permitted sender) smtp.mailfrom="prvs=508ef2a02=johannes.thumshirn@wdc.com" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1685533883; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=IxGJiTH6ZtTqQv7kMwXfygYzomFhd6ij9tDGz1CDdC4=; b=CwoyxXqSu52zRtFM2/eKOeDfnJoMiAm19E5mrrJgg/rmYUmjGP8PJAxWXIdSXbiUcx3dFD AYupIt011x+HMFdcyAT/ANVsrPzWwvLXkSzh3OPZvHXqSj3J1YbZTHOjPbREAqZDNL+rv7 /NQKpZ3gnSFz1L5LJfD7VybLmaolxvE= ARC-Authentication-Results: i=1; imf10.hostedemail.com; dkim=pass header.d=wdc.com header.s=dkim.wdc.com header.b=GlSHO6Rv; dmarc=pass (policy=quarantine) header.from=wdc.com; spf=pass (imf10.hostedemail.com: domain of "prvs=508ef2a02=johannes.thumshirn@wdc.com" designates 216.71.154.42 as permitted sender) smtp.mailfrom="prvs=508ef2a02=johannes.thumshirn@wdc.com" ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1685533883; a=rsa-sha256; cv=none; b=on28ESN7uqW6fXn90iLf5JcGUauxhlbB1HQt1XMN8dLzKebMVbk4Gyi9HldgZGpIcgMMRr O6xdm8Yi68NfETfFYV6HQNqAPiGyC3CaJsuVChNZacT9tGCaK7R/MLzupuvR0Rk/+rDmwB XW+vGdle21lhDi4AdEyELlXmcJVoe2E= DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1685533883; x=1717069883; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=TtMwPwqoJmAQPgnjq7wocIny6svRrZPugVBgK7WOt6M=; b=GlSHO6RvnN6aoQQQEalPdvvMtFeQOGj3QNP65loyJuWS5iEHe98xM57M 96Ad2As+n7GBhKc2/xDeqzLTMwA5eAjpxP+6QWyNy91ZfzAqnmf4soAHk VY/QX060OabqYNJfCU68fyvaJ2nRxV5EgYkwVsRqrWlpAwvItrGRcqdkq OWwb0kPZL0haj2Kv5p+1pNeCioJ3CQHABrz670BWhazucD61USw0vlMRC oMtPVIULLaltq5qawN3s/e5Ho+E3kaITOwQGHt2kItx6xQJlnHN2qwyS8 TMSPYBBOfJpfS4q+9P5Xtif6N7ssml5SpCbV0WqUQNi6TwKv+xLMVU5NR w==; X-IronPort-AV: E=Sophos;i="6.00,207,1681142400"; d="scan'208";a="230207441" Received: from h199-255-45-14.hgst.com (HELO uls-op-cesaep01.wdc.com) ([199.255.45.14]) by ob1.hgst.iphmx.com with ESMTP; 31 May 2023 19:51:22 +0800 IronPort-SDR: aOZkA1gVtqRRZl+qDlft7PNHMX6jLeC5kolQjnSvTwngdC+m7Vtt6bqdlKqLJ9Kw+xVN9w3OfQ Slc8GcLtm0dWF+Xgc6e3v6bx4XMMPKfKt7rNfn58NH77hdKzgfrKQ0pOZp89UI/fpm5KlyZCpk zEmXaD3Q0LcjUOHQ3C4PB4KqLErTcLKqgQydM6QzERy70RXIqDdUscxoqpP9G1PDdCHHV9xi+k mPdW+ZDrBDTtV3PvRc7ESPv5+MayQ0pNdVgw365yteGSkdz/nTU4vAN0PQJDpei+MNmpxlp1Jm W+k= Received: from uls-op-cesaip02.wdc.com ([10.248.3.37]) by uls-op-cesaep01.wdc.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 31 May 2023 04:06:15 -0700 IronPort-SDR: lSLmR/VBj2pjG1BOKyzbzpWOt10LQ2v+W9nQSkfzvPSPIPVecgzRxwE+mTlymgLSKsZZ7JJYhd saR/IYHvebRwJso+xoYWje6G9oEb7N4eM1apcr9zWPZykON9DnRU0Pvqa3YoovOG9mo8KMnQix +59L8VmldaWJ3bDq+eFFGdKuoZg0eQew9RjzgnlQ9qsTIpDlvXIvDrTtcd9QfWAIOE87SHwlM8 bKsDPUc4+smximEMS+6wPCkGqM5hMJAvOL+JxbNTObAa1Db26lV7WOnHYrJwT8baEncOGR6XK/ IhQ= WDCIronportException: Internal Received: from unknown (HELO redsun91.ssa.fujisawa.hgst.com) ([10.149.66.6]) by uls-op-cesaip02.wdc.com with ESMTP; 31 May 2023 04:51:20 -0700 From: Johannes Thumshirn <johannes.thumshirn@wdc.com> To: Jens Axboe <axboe@kernel.dk> Cc: Christoph Hellwig <hch@lst.de>, Hannes Reinecke <hare@suse.de>, Chaitanya Kulkarni <kch@nvidia.com>, Damien Le Moal <damien.lemoal@wdc.com>, Ming Lei <ming.lei@redhat.com>, linux-block@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, dm-devel@redhat.com, Song Liu <song@kernel.org>, linux-raid@vger.kernel.org, Mike Snitzer <snitzer@kernel.org>, Matthew Wilcox <willy@infradead.org>, Dave Kleikamp <shaggy@kernel.org>, jfs-discussion@lists.sourceforge.net, cluster-devel@redhat.com, Bob Peterson <rpeterso@redhat.com>, Andreas Gruenbacher <agruenba@redhat.com>, Mikulas Patocka <mpatocka@redhat.com>, gouha7@uniontech.com, Johannes Thumshirn <johannes.thumshirn@wdc.com>, Damien Le Moal <damien.lemoal@opensource.wdc.com> Subject: [PATCH v7 10/20] zonefs: use __bio_add_page for adding single page to bio Date: Wed, 31 May 2023 04:50:33 -0700 Message-Id: <04c9978ccaa0fc9871cd4248356638d98daccf0c.1685532726.git.johannes.thumshirn@wdc.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <cover.1685532726.git.johannes.thumshirn@wdc.com> References: <cover.1685532726.git.johannes.thumshirn@wdc.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 44BF6C0024 X-Rspam-User: X-Rspamd-Server: rspam04 X-Stat-Signature: o94sqq4ypth9sb9t9ff9ftjanmi9nhhf X-HE-Tag: 1685533883-757999 X-HE-Me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riYkqgbZYGxjeNljw1yR3h4tlQZTYAOcqljU7JLpxswGCHqdJ0LDY/qdFdbZZ0GY9cpaJNdX61JxQcoui6ZHikkBm+tPsehmiCJs/IWpaeCP0SnyNyNZGyNOlR0/v55qqH0yWAtZ4u2x5bGVl+hkHH6uTjhUvkitwhjlHhyRgYPjvDreS21JTHXd22jETc6lYo8eQtWWiQcoMOuB8j3cX5U3USoMAaNKHepXxPKJTZ0SiWGxTB1beU4t08s3cFEkuaPlmuOYPH/gYkB611OxmMoK7oHkUQOZ+HGYXqNdahobAVCEc6NUbp9y/finWg== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> |
Series |
bio: check return values of bio_add_page
|
expand
|
diff --git a/fs/zonefs/super.c b/fs/zonefs/super.c index 23b8b299c64e..9350221abfc5 100644 --- a/fs/zonefs/super.c +++ b/fs/zonefs/super.c @@ -1128,7 +1128,7 @@ static int zonefs_read_super(struct super_block *sb) bio_init(&bio, sb->s_bdev, &bio_vec, 1, REQ_OP_READ); bio.bi_iter.bi_sector = 0; - bio_add_page(&bio, page, PAGE_SIZE, 0); + __bio_add_page(&bio, page, PAGE_SIZE, 0); ret = submit_bio_wait(&bio); if (ret)