On 28.02.2017 13:53, Kevin Wolf wrote: > Almost all format drivers have the same characteristics as far as > permissions are concerned: They have one or more children for storing > their own data and, more importantly, metadata (can be written to and > grow even without external write requests, must be protected against > other writers and present consistent data) and optionally a backing file > (this is just data, so like for a filter, it only depends on what the > parent nodes need). > > This provides a default implementation that can be shared by most of > our format drivers. > > Signed-off-by: Kevin Wolf <kw...@redhat.com> > --- > block.c | 44 ++++++++++++++++++++++++++++++++++++++++++++ > include/block/block_int.h | 8 ++++++++ > 2 files changed, 52 insertions(+)
Reviewed-by: Max Reitz <mre...@redhat.com>
signature.asc
Description: OpenPGP digital signature