From patchwork Mon Nov 19 09:16:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Lyahkov X-Patchwork-Id: 999673 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-ext4-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="VoqvXryl"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42z3C2319Xz9s3x for ; Mon, 19 Nov 2018 20:17:34 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727286AbeKSTkf (ORCPT ); Mon, 19 Nov 2018 14:40:35 -0500 Received: from mail-it1-f178.google.com ([209.85.166.178]:39226 "EHLO mail-it1-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727272AbeKSTkf (ORCPT ); Mon, 19 Nov 2018 14:40:35 -0500 Received: by mail-it1-f178.google.com with SMTP id m15so6431653itl.4 for ; Mon, 19 Nov 2018 01:17:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=RB+PdC6YJsgEZAubNL3cQsohT8inV2xHgWi/DeQSm0A=; b=VoqvXryl9t00GCFsjvtb8O/88Rpjv1ncL6EcLwaJNGzS3BHwcFZdeD2BY8seIg0Ujq Ej2SEzSNK9J70iUZUwnIe8a5v4Zq3NFqhaSvtrM145XY9x1hHaBvXbgPadh6U09asera 7mlMLbNgEGrlK6OdtS6qL8lGi3NEqvNosXyyNsy7IhJhkLJ8oRC1KrJn00ph43IkYkFS 1+SKtkrO4vg+C//+nDWdO1KIssiVn6Yto92JGin7FtBgT99sAws8LjeMPAS0vNaC5T9h vKF4aOchC9/MruAM/qQ1VQfm42reEP8gXaCzm86yXSrKZekRlUSeZgHgctscEIuF9HjT xyuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=RB+PdC6YJsgEZAubNL3cQsohT8inV2xHgWi/DeQSm0A=; b=CdV28f5XCLetFS6j8XICiDSqZk895J8V8raNN4NV3+Ar71/NOJimCkdrkc4XeZlijb r8Z5JcAnolWEtm07YsAG3A0Aes45/g0OK972WHdg8YWofpfji+2lNmYsaQCxuJ1eSd5F gcjfmwaWN5rXocVVVPf74nPpbkVpyPI4t28gif+WPKYkS0eukLw1enuSmozFlgMX3dG5 tPArXsa8JJxWWz7aLoBZdAK+RcnhwkAD5GV0fL/iW1XgEhvKqW5xGgY5muBUUo8S4RRW NnLHaDo70qcFkP/wesHI7qMNh49QI4FHCcTskYjgfhuKg7dze/CLsoniTMND4oX9gVtj CvrQ== X-Gm-Message-State: AGRZ1gIcIXWZYV5fLuza26dJUN+I0UyZqyMgpXrlgEAEn61cgNtUCEAM Ry8vwrHrj5CmSi/cgqeoszHTbCh7 X-Google-Smtp-Source: AJdET5diJNT91hoADD0wGWdQqMJ+qlHhSu4oqDMtMhhB2X/XMrlhrJ77juagMBVbt+Vi4bxnU706zw== X-Received: by 2002:a02:7fca:: with SMTP id r193mr19981883jac.63.1542619053200; Mon, 19 Nov 2018 01:17:33 -0800 (PST) Received: from C02TNAJHHTD6.us.cray.com (seattle-nat.cray.com. [136.162.66.1]) by smtp.gmail.com with ESMTPSA id y76sm13303364ita.18.2018.11.19.01.17.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Nov 2018 01:17:32 -0800 (PST) From: alexey.lyashkov@gmail.com To: linux-ext4@vger.kernel.org Cc: Alexey Lyashkov Subject: [PATCH 2/3] Fix panic with journal superblock flags printing. Date: Mon, 19 Nov 2018 12:16:49 +0300 Message-Id: <20181119091650.81803-3-alexey.lyashkov@gmail.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181119091650.81803-1-alexey.lyashkov@gmail.com> References: <20181119091650.81803-1-alexey.lyashkov@gmail.com> MIME-Version: 1.0 Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org Signed-off-by: Alexey Lyashkov --- debugfs/logdump.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debugfs/logdump.c b/debugfs/logdump.c index 84108a6e..c88f6f9c 100644 --- a/debugfs/logdump.c +++ b/debugfs/logdump.c @@ -388,9 +388,9 @@ static void dump_journal(char *cmdname, FILE *out_file, if (retval) return; - if (dump_super) { + if (dump_all || dump_super) { e2p_list_journal_super(out_file, jsb_buffer, - current_fs->blocksize, 0); + 1024, 0); fputc('\n', out_file); }