dm bufio: delete unused and inefficient dm_bufio_discard_buffers
authorMikulas Patocka <mpatocka@redhat.com>
Wed, 27 May 2020 11:04:46 +0000 (07:04 -0400)
committerMike Snitzer <snitzer@redhat.com>
Fri, 5 Jun 2020 00:57:38 +0000 (20:57 -0400)
commita1c979f330cb82cae7a3b19464f9815e43060fe3
treed0e7a8661a2523b443ee0f7db1108c8d73a74fe6
parentb4756d43a1dd2cfb778eb3cef3ba2efd2dcd5263
dm bufio: delete unused and inefficient dm_bufio_discard_buffers

There is no user for this interface.  If in future it is needed it can
be reimplemented to walk the rbtree of buffers instead of doing
block-by-block lookups.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-bufio.c
include/linux/dm-bufio.h