diff options
| author | Mikulas Patocka <mpatocka@redhat.com> | 2020-06-02 16:34:41 +0300 |
|---|---|---|
| committer | Mike Snitzer <snitzer@redhat.com> | 2020-06-05 21:59:42 +0300 |
| commit | 334b4fc17275667b38ebfd719714dab0edb83c6a (patch) | |
| tree | dd6366b202e6c05c3c770014e6e73fe8cd69f77a /lib/test_fortify/write_overflow-strncpy-src.c | |
| parent | 33a180623b6c35f2727daecb63763955af3af1df (diff) | |
| download | linux-334b4fc17275667b38ebfd719714dab0edb83c6a.tar.xz | |
dm ebs: use dm_bufio_forget_buffers
Use dm_bufio_forget_buffers instead of a block-by-block loop that
calls dm_bufio_forget. dm_bufio_forget_buffers is faster than the loop
because it searches for used buffers using rb-tree.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions
