Skip to contentSkip to conversation

Fix 'btrfs device stats --check' cli option

PATCH Superseded Lakshmipathi.G 1 participant 1 message Jun 22, 2017 Btrfs file system

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix 'btrfs device stats --check' cli option

Reported by Tomas Thiemel<[email protected]>
Bug 194961 - btrfs device stats --check <folder> does not work

---
 cmds-device.c | 1 +
 1 file changed, 1 insertion(+)
cmds-device.c +1 -0
index 5e016a7..4337eb2 100644
@@ -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}
 		};
Signature · 1 line
2.7.4