diff options
| author | Josef Bacik <jbacik@fb.com> | 2017-07-24 22:14:26 +0300 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2017-08-18 17:36:20 +0300 |
| commit | 42e9cc46fbe86f83278c14f5d88f353d037258d2 (patch) | |
| tree | a88c28f8b83f4f0b2eef1281047b33c43310c676 /tools/perf/scripts/python/netdev-times.py | |
| parent | 23b5ec74943f44378b68c0edd8e210a86318ea5e (diff) | |
| download | linux-42e9cc46fbe86f83278c14f5d88f353d037258d2.tar.xz | |
btrfs: increase ctx->pos for delayed dir index
Our dir_context->pos is supposed to hold the next position we're
supposed to look. If we successfully insert a delayed dir index we
could end up with a duplicate entry because we don't increase ctx->pos
after doing the dir_emit.
Signed-off-by: Josef Bacik <jbacik@fb.com>
Reviewed-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
