diff mbox

[v2] btrfs-progs: Fix 'btrfs device stats --check' cli option

Message ID 20170622075753.GA27046@giis.co.in (mailing list archive)
State New, archived
Headers show

Commit Message

Lakshmipathi.G June 22, 2017, 7:57 a.m. UTC
Bug 194961 - btrfs device stats --check <folder> does not work
https://bugzilla.kernel.org/show_bug.cgi?id=194961

Reported-by: Tomas Thiemel<thiemel@centrum.cz>
Signed-off-by: Lakshmipathi.G <Lakshmipathi.G@giis.co.in>
---
 cmds-device.c | 1 +
 1 file changed, 1 insertion(+)

Comments

David Sterba June 26, 2017, 12:35 p.m. UTC | #1
On Thu, Jun 22, 2017 at 01:27:53PM +0530, Lakshmipathi.G wrote:
> Bug 194961 - btrfs device stats --check <folder> does not work
> https://bugzilla.kernel.org/show_bug.cgi?id=194961
> 
> Reported-by: Tomas Thiemel<thiemel@centrum.cz>
> Signed-off-by: Lakshmipathi.G <Lakshmipathi.G@giis.co.in>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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}
 		};