aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDavid Sterba <[email protected]>2014-02-03 18:24:09 +0100
committerJosef Bacik <[email protected]>2014-03-10 15:15:44 -0400
commit64792f253508268eb390a86f42f128d877b40776 (patch)
tree7daf4e281e32054614337266f57797b1b02c5cea /tools/perf/scripts/python
parent5ed7f9ff15e6ea56bcb78f69e9503dc1a587caf0 (diff)
btrfs: send: replace check with an assert in gen_unique_name
The buffer passed to snprintf can hold the fully expanded format string, 64 = 3x largest ULL + 3x char + trailing null. I don't think that removing the check entirely is a good idea, hence the ASSERT. Signed-off-by: David Sterba <[email protected]> Signed-off-by: Josef Bacik <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions