aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorAnand Jain <[email protected]>2019-04-02 18:07:38 +0800
committerDavid Sterba <[email protected]>2019-04-04 17:56:12 +0200
commit50398fde997f6be8faebdb5f38e9c9c467370f51 (patch)
tree993ba120f3debd0ff1503500b183fbeba8c3fc62 /tools/perf/scripts/python/exported-sql-viewer.py
parentf35f06c35560a86e841631f0243b83a984dc11a9 (diff)
btrfs: prop: fix zstd compression parameter validation
We let pass zstd compression parameter even if it is not fully valid. For example: $ btrfs prop set /btrfs compression zst $ btrfs prop get /btrfs compression compression=zst zlib and lzo are fine. Fix it by checking the correct prefix length. Fixes: 5c1aab1dd544 ("btrfs: Add zstd support") CC: [email protected] # 4.14+ Reviewed-by: Nikolay Borisov <[email protected]> Signed-off-by: Anand Jain <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions