filters: Drop useless .open callbacks
commitfbd1058761b4dca7c2aa5e067886200e7500dfd5
authorEric Blake <eblake@redhat.com>
Sat, 27 Apr 2019 20:43:28 +0000 (27 15:43 -0500)
committerEric Blake <eblake@redhat.com>
Mon, 29 Apr 2019 19:15:17 +0000 (29 14:15 -0500)
treeaabbcb81fd61d4646cb0f9d76eed22b773468d0b
parent83a16ffa13de18870ca310c06f197e6b2f8d151e
filters: Drop useless .open callbacks

The cache filter .open has never done any useful work; since its
introduction in c10d126f, it appears to exist purely as copy-and-paste
from the cow filter (differing only in whether the readonly parameter
is massaged before passing on to next).

The error filter .open used to track a per-connection handle, but for
testing purposes, it was changed to use only global state in commit
b33ccbb8.

Drop these two .open callbacks in favor of using nbdkit's default
behavior, with no semantic change.  All other filters with an .open
callback either massage parameters passed to next, create a
per-connection handle, or both.

Signed-off-by: Eric Blake <eblake@redhat.com>
filters/cache/cache.c
filters/error/error.c