Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2009830imm; Tue, 10 Jul 2018 11:32:00 -0700 (PDT) X-Google-Smtp-Source: AAOMgpd/NP2WdRlJOPEorUnZjYn3L+1bEExlxZVyJzKl7zdG8wxfkdafvA/mQOpqemlxaBOy4fgn X-Received: by 2002:a62:41d6:: with SMTP id g83-v6mr26613184pfd.219.1531247520662; Tue, 10 Jul 2018 11:32:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531247520; cv=none; d=google.com; s=arc-20160816; b=LpiKOGFV270t0RMJm/ZD15LlOZBj4goZkzQNGxQnwCfb1StHkcPL9IJLeT9mQB59P0 z0nBWn5PmQbsUl2a2aqAWf9ExCX9hb77S/REfPiUbb7BIufXuI79rzv+SjZ19SZ4IoV0 lhZItXdnVYatLMekTkFlL971QU/fUbtKMoZxy4gxl+fbp8zFbrAAddf51rEa+qy20PPA FV3lv5eG+r8vtAiTxD7xIz3t5AvuGlHthu3xM64AfD9gP0EoJaTMc/iGfa+szoyBoeI9 iVff7c/W0sGcEdt8Fcn1zwyLsqLKg+Asym4mRBbShI8iYqxdsCWuho7NE3WIb/m8BL2q VgQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=o2WOwy8teC1X/sRRRGhCcy2lzXZMClS8eAe5nkGGdNU=; b=Wc/zLpW0PU75QMgR5h4zXdmRF6b21y4xQu9nXVPB9gyHjlLMrnK3pyDWGctIxCvSis JYO6Q8+lDZ1CDumsGsYmUZn/42GIvLKoqdYe4BwihhYH/dILevNEPwcvJxwuIWMcuYyo SesaCuntGZDVmOHXruj2PMBnEI5/zVOA5618Li/PQiUxMbUEPr3tqS0ortEfvA+vOlWg k7/72FR+AELLGDXypQKQNGpNM2IkOb6q/4qpKjHwGQH6E2qFeXvJNg5bLI7Qk0dJD4C7 mYtAfkKdzhYWd9oTdBeXvEgFqJYJUFIruRcwBLdszSb3twMaGvc0yaDb8/MrBM1pDyYQ Ws/w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o123-v6si16583670pgo.190.2018.07.10.11.31.45; Tue, 10 Jul 2018 11:32:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388102AbeGJSaf (ORCPT + 99 others); Tue, 10 Jul 2018 14:30:35 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:45594 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733070AbeGJSae (ORCPT ); Tue, 10 Jul 2018 14:30:34 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 1E942EB4; Tue, 10 Jul 2018 18:30:21 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Theodore Tso , stable@kernel.org Subject: [PATCH 4.9 31/52] ext4: include the illegal physical block in the bad map ext4_error msg Date: Tue, 10 Jul 2018 20:24:59 +0200 Message-Id: <20180710182452.264756826@linuxfoundation.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180710182449.285532226@linuxfoundation.org> References: <20180710182449.285532226@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.9-stable review patch. If anyone has any objections, please let me know. ------------------ From: Theodore Ts'o commit bdbd6ce01a70f02e9373a584d0ae9538dcf0a121 upstream. Signed-off-by: Theodore Ts'o Cc: stable@kernel.org Signed-off-by: Greg Kroah-Hartman --- fs/ext4/inode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/fs/ext4/inode.c +++ b/fs/ext4/inode.c @@ -377,9 +377,9 @@ static int __check_block_validity(struct if (!ext4_data_block_valid(EXT4_SB(inode->i_sb), map->m_pblk, map->m_len)) { ext4_error_inode(inode, func, line, map->m_pblk, - "lblock %lu mapped to illegal pblock " + "lblock %lu mapped to illegal pblock %llu " "(length %d)", (unsigned long) map->m_lblk, - map->m_len); + map->m_pblk, map->m_len); return -EFSCORRUPTED; } return 0;