From patchwork Thu Aug 2 05:00:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve French X-Patchwork-Id: 10553251 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 592FD13BF for ; Thu, 2 Aug 2018 05:00:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 093D82B037 for ; Thu, 2 Aug 2018 05:00:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0779B2B0C0; Thu, 2 Aug 2018 05:00:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,T_DKIM_INVALID, T_TVD_MIME_EPI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ADD3C2B492 for ; Thu, 2 Aug 2018 05:00:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726174AbeHBGuC (ORCPT ); Thu, 2 Aug 2018 02:50:02 -0400 Received: from mail-pg1-f170.google.com ([209.85.215.170]:46808 "EHLO mail-pg1-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725944AbeHBGuC (ORCPT ); Thu, 2 Aug 2018 02:50:02 -0400 Received: by mail-pg1-f170.google.com with SMTP id f14-v6so3832pgv.13 for ; Wed, 01 Aug 2018 22:00:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=6iKilk8INsTfxJUaAOBftDJa1mGJxBzNmOgWTc8iNB4=; b=QFMyRR0wdktEV2eFDUXVc4JUVxD7iLSg/79VOCmgis/nPxZkmfXiTMuPXueWtT/DhW jmcxSG435or8/WYSeKy+gm2M/myZv/nBrEXcrmbuUE92sJTUiw3OYqAjGRI35hGXehQr gbH1gu8bXee1v/xK4wn13v7UT33eOOZiMsP2U/led8aGqe7d8XVciWVxnPDyHBTF9Blv CG3Lzc0B3UxcarQ8PzEJHV5g0JqIStV9NHodmjOPPt0bzPeSoBFwgLLyrL+ZGZ06JLWd Ef5UBDwKRyhnAV+IGwNuT5TCjfPJXvt8Y894TYai+pDHQqZVfcv7Td0jwfp43vmLTHYT jO8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=6iKilk8INsTfxJUaAOBftDJa1mGJxBzNmOgWTc8iNB4=; b=h5vDe50Kc5AHyIfmykYsfkXLh/MW9/XYVOatf4QsN2YT0pbu7Ol+TBR8xxI88LxL3G HRM0WvHTOLG+hHuPcmM48g0kKBYkjPImj/OXt3xLYFUPeuWEmA3nT7eSh0gvr1HGwr8b uz3XIkAqLfM2daqfpUUuozseBjJrTwreVbzOrvKjiJwYWNCH9LmKtkepZ4MH8wOUA0dE t6FiCaUpczzLwrlBhvaa8l/qnqt6BLsN5raxefSMTx/UFx6U9aCr2SU9S88t8kOrgedv DUukZTCg54trWaAGw3SHHzEGb5HkBgN1DYwK0XYbHew+MvZ3gCN2JZ8h/lH8Z5reT32B 8Ixg== X-Gm-Message-State: AOUpUlHJmzDwbzMyIYFQq4TZO/iKW1n9+Soz5N5WbyxDMdpZrhXe8zyK +npW1PueK5QIJUL52dEOsdRVgsTWdOkT5RGFim4E/Q== X-Google-Smtp-Source: AAOMgpc7+V3bKVnYcIeviFcNXxgEbnbVJEhV/ez4h7H7FhONBKwyV2HIAybthx1+Luh/odaRpz/4W+tH1xqbkpV7MLU= X-Received: by 2002:aa7:8087:: with SMTP id v7-v6mr1347725pff.38.1533186045061; Wed, 01 Aug 2018 22:00:45 -0700 (PDT) MIME-Version: 1.0 From: Steve French Date: Thu, 2 Aug 2018 00:00:33 -0500 Message-ID: Subject: [PATCH][SMB3] Fix minor debug output for CONFIG_CIFS_STATS To: CIFS Sender: linux-cifs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-cifs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Reviewed-by: Ronnie Sahlberg From 7398f2927072372873b6201ef8857c6adb1049e0 Mon Sep 17 00:00:00 2001 From: Steve French Date: Wed, 1 Aug 2018 22:34:04 -0500 Subject: [PATCH] smb3: fix minor debug output for CONFIG_CIFS_STATS CONFIG_CIFS_STATS is now always enabled (to simplify the code and since the STATS are important for some common customer use cases and also debugging), but needed one minor change so that STATS shows as enabled in the debug output in /proc/fs/cifs/DebugData Signed-off-by: Steve French --- fs/cifs/cifs_debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/cifs/cifs_debug.c b/fs/cifs/cifs_debug.c index e074820bd4ed..748cabd6d20b 100644 --- a/fs/cifs/cifs_debug.c +++ b/fs/cifs/cifs_debug.c @@ -170,7 +170,7 @@ static int cifs_debug_data_proc_show(struct seq_file *m, void *v) #endif #ifdef CONFIG_CIFS_STATS2 seq_printf(m, ",STATS2"); -#elif defined(CONFIG_CIFS_STATS) +#else seq_printf(m, ",STATS"); #endif #ifdef CONFIG_CIFS_DEBUG2 -- 2.17.1