nbd: Use CAF when looking for dirty bitmap
commitee2f94ca2799f3a6536cf19235c9bb44be919956
authorMax Reitz <mreitz@redhat.com>
Wed, 12 Jun 2019 16:55:04 +0000 (12 18:55 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 7 Sep 2020 10:31:31 +0000 (7 12:31 +0200)
tree0c519cee43e68a0c5e8705a4d7d1c5f90c33315a
parent9a71b9de3f08941577a9760021f52771aaba4fa4
nbd: Use CAF when looking for dirty bitmap

When looking for a dirty bitmap to share, we should handle filters by
just including them in the search (so they do not break backing chains).

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Andrey Shinkevich <andrey.shinkevich@virtuozzo.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
nbd/server.c