From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from p3nlsmtpcp01-02.prod.phx3.secureserver.net ([184.168.200.140]:48882 "EHLO p3nlsmtpcp01-02.prod.phx3.secureserver.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751116AbdFVHj0 (ORCPT ); Thu, 22 Jun 2017 03:39:26 -0400 Date: Thu, 22 Jun 2017 13:08:19 +0530 From: "Lakshmipathi.G" To: linux-btrfs@vger.kernel.org, dsterba@suse.cz Subject: [PATCH] Fix 'btrfs device stats --check' cli option Message-ID: <20170622073819.GA26737@giis.co.in> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-btrfs-owner@vger.kernel.org List-ID: Reported by Tomas Thiemel Bug 194961 - btrfs device stats --check does not work --- cmds-device.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cmds-device.c b/cmds-device.c index 5e016a7..4337eb2 100644 --- a/cmds-device.c +++ b/cmds-device.c @@ -400,6 +400,7 @@ static int cmd_device_stats(int argc, char **argv) while (1) { int c; static const struct option long_options[] = { + {"check", no_argument, NULL, 'c'}, {"reset", no_argument, NULL, 'z'}, {NULL, 0, NULL, 0} }; -- 2.7.4