btrfs-progs: Fix 'btrfs device stats --check' cli option
PATCH v2 1/1 btrfs-progs: Fix 'btrfs device stats --check' cli option
Bug 194961 - btrfs device stats --check <folder> does not work
https://bugzilla.kernel.org/show_bug.cgi?id=194961
Reported-by Tomas Thiemel<[email protected]>
Signed-off-by Lakshmipathi.G <[email protected]>
--- cmds-device.c | 1 + 1 file changed, 1 insertion(+)
cmds-device.c +1 -0
@@ -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
David Sterba
AppliedQuoted 5 lines · Lakshmipathi.G
Bug 194961 - btrfs device stats --check <folder> does not work
https://bugzilla.kernel.org/show_bug.cgi?id=194961Reported-by Tomas Thiemel<[email protected]>Signed-off-by Lakshmipathi.G <[email protected]>
Applied, thanks.