Move some of the optional parameters of CreateRWLayer() in a struct called CreateRWLayerOpts. This will make it easy to add more options arguments without having to change signature of CreateRWLayer(). Signed-off-by: Vivek Goyal <vgoyal@redhat.com> Upstream-commit: f7f3d34210fd8d25a929c6b9048e74e7ee40a558 Component: engine