Skip to contentSkip to conversation

blkparse: fix allowed event type specifiers for custom output format

PATCH In review Steffen Maier 1 participant 1 message Apr 27, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 23/31 blkparse: fix allowed event type specifiers for custom output format

'W' was replaced by 'B' in code but 'W' was not removed from valid specs.

Fixes bd5e71cf069d ("[PATCH] Fix back descriptors")

'W' (and 'X' for split) had been added to valid specs as a side effect of remap action support ('A') in commit a8f30e64d4d3 ("[PATCH] Add support for remap actions").

---
 blkparse_fmt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
blkparse_fmt.c +1 -1
index c42e6d7b7219..c110dad10b0b 100644
@@ -11,7 +11,7 @@
 
 #include "blktrace.h"
 
-#define VALID_SPECS	"ABCDFGIMPQRSTUWX"
+#define VALID_SPECS	"ABCDFGIMPQRSTUX"
 
 #define HEADER		"%D %2c %8s %5T.%9t %5p %2a %3d "
 
Signature · 1 line
2.14.2