Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1004730pxb; Thu, 25 Feb 2021 23:18:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJy4wJetZ06dq1uxGo5SIe9jle2wnUVuRfxd5kwNsuVnINumH5kz16uW3aQaUxnFzOgCqXtb X-Received: by 2002:aa7:da52:: with SMTP id w18mr1804358eds.219.1614323884945; Thu, 25 Feb 2021 23:18:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614323884; cv=none; d=google.com; s=arc-20160816; b=PWjkwCMk9/Tp28NBkp6O/sW5jHMUWhN2k8i8JDpVAfteYvGymnood2yHG0YzgGdYGR YtCpVKJI9KpitSeBOEbIPiZ9/BzDiWl94aVPYm1QOBwxgCBSVD32bUYIRa/mGjJei50v H2qfQ7pMaeeYHUIcWptlJ6mRb68q9F+9zSsKIA4XU5BUKHFfy35+XBcIhk2EJO1KLrR/ E8LkbawPds0TqtjIsXRSJe1g4S7v2s15KhcZKqt/wbv/rAO8EqE6d6PnFfgjG1t/xS4w mHRQHFLkeFrp0gW6oQVe39ZnujzGL6j03wjOTrubXwDafmsQCdy3X/gSET5OMx8TEAXx t9HQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature:dkim-signature; bh=Gas7BtOMLnsm7/pZORoRcfDmtcHaHtW6ogx7TjAsTvU=; b=ghemENcF1iEBqi1NfsyxoWdytCgAp1+WAjqQqNl5vtqsI7oKgOj/kzVE5LAWkF5/H3 1lh5szCB45yU0Jkzg226/Yc81X56EAjVKiObBYG+XZkIu1qIqNVDmoyDqgwK/xHnOJ1P mVdCysUVu7r+S+zKYFfxRcbplxz7I/sG547QcbRosaOwrKU/idt8iThb1f91cNN8rjrq cFRSR8xwEgDNpb+M1VW4X7CLX+PAWyP+BuFmgB1f1YA+ZpDClIz5VZyRNwYx91v2gTLH RgSLzzy4IFb8WfJFNCdc5ST+7b6Ct1KikhhZciwO+s8MhWhMyphttqqDR8aJWdPQItjW htxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@irrelevant.dk header.s=fm2 header.b=rZ2cBqcD; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b="a/EwPVjk"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o11si2312911ejb.453.2021.02.25.23.17.42; Thu, 25 Feb 2021 23:18:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@irrelevant.dk header.s=fm2 header.b=rZ2cBqcD; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b="a/EwPVjk"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229885AbhBZHRC (ORCPT + 99 others); Fri, 26 Feb 2021 02:17:02 -0500 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:51205 "EHLO wout5-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229541AbhBZHRB (ORCPT ); Fri, 26 Feb 2021 02:17:01 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id E9E32A68; Fri, 26 Feb 2021 02:16:13 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Fri, 26 Feb 2021 02:16:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=irrelevant.dk; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=fm2; bh=Gas7BtOMLnsm7/pZORoRcfDmtc HaHtW6ogx7TjAsTvU=; b=rZ2cBqcDl4ERFl2S9jsQsxFmwl3S+QN5zYOQ3DFI/+ JgNFgmr8QG/Q3kxMkRFd5ZJ2KRW96MGGl2PXm9xJZtnFXMTcpVmrlpmbomha5+4a kYv9U4RMgSSRK+Wd7GG0ss89B2g5DZxcH3mu0QtsmDVYtDlBfzo9A1FGYFJ71SYh Si+laXNGfTBtip1FAvyrjrs5Ue6AZakVWnF+6W4XIDIy1pauqfm7rtMn/OzyKVXX nzOXbj72gHCA1qQbkyzoS9gUCcsfghZXoD5iuNRDtaCjcZIyHjq+iZwZWTZc+6Jt fzbH4e93jlem+LARrV5r2TUE8F5kpgC58oYMmS9NuGdQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=Gas7BtOMLnsm7/pZO RoRcfDmtcHaHtW6ogx7TjAsTvU=; b=a/EwPVjkKn0+wrgrGvMCt6GTwdu+A/RGw 8E2I7cT98DJf4YY83lw6XrH22o1WzSm1Z7zuFcM/8S3wFoWSyVKX2MEXXyzU7Ipa wtnEzIA0I6eIHwMx2Pqqc66SpOSAuVKXiDfBv+3XFamQ5dpFHgwAH4QfidN66fVN QmU/hdizsttVdnup4SBoYqtgYpGxc/YsF7WR+EEWBoUQE0kQ+xn/O+DUHQXT1yRW 198655IFP9MEIGuCwlrg3qEh9weYXN5pUwOiBtFIfI4VzSfd9CPO5p3gV8VcTHlM 4HyYE7X2S1dtLAhDHZSeAbB+LL9nXhQ31ju0Afdow0naVymrIbV2g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrledtgddutdejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefmlhgruhhsucfl vghnshgvnhcuoehithhssehirhhrvghlvghvrghnthdrughkqeenucggtffrrghtthgvrh hnpeefveelvdeikeduueffteeggeefhedvffffjeeuueeludehvdegjeevjefhtdetheen ucfkphepkedtrdduieejrdelkedrudeltdenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehithhssehirhhrvghlvghvrghnthdrughk X-ME-Proxy: Received: from apples.local (80-167-98-190-cable.dk.customer.tdc.net [80.167.98.190]) by mail.messagingengine.com (Postfix) with ESMTPA id 3CDAE240057; Fri, 26 Feb 2021 02:16:12 -0500 (EST) From: Klaus Jensen To: Jens Axboe Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Klaus Jensen Subject: [PATCH] block: fix argument order for capacity change info print Date: Fri, 26 Feb 2021 08:16:06 +0100 Message-Id: <20210226071606.362321-1-its@irrelevant.dk> X-Mailer: git-send-email 2.30.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Klaus Jensen Swap "before" and "after" capacities in the info print in set_capacity_and_notify. Signed-off-by: Klaus Jensen --- block/genhd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/genhd.c b/block/genhd.c index 304f8dcc9a9b..de8ecc402f69 100644 --- a/block/genhd.c +++ b/block/genhd.c @@ -73,7 +73,7 @@ bool set_capacity_and_notify(struct gendisk *disk, sector_t size) return false; pr_info("%s: detected capacity change from %lld to %lld\n", - disk->disk_name, size, capacity); + disk->disk_name, capacity, size); /* * Historically we did not send a uevent for changes to/from an empty -- 2.30.1