diff mbox

Fix 'btrfs device stats --check' cli option

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

Commit Message

Lakshmipathi.G June 22, 2017, 7:38 a.m. UTC
Reported by Tomas Thiemel<thiemel@centrum.cz>
Bug 194961 - btrfs device stats --check <folder> does not work

---
 cmds-device.c | 1 +
 1 file changed, 1 insertion(+)
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}
 		};