Merge pull request #16452 from rhatdan/btrfs-selinux

Relabel BTRFS Content on container Creation
Upstream-commit: 4dda67b8014e71508e992c736febc5c45c53c095
Component: engine
This commit is contained in:
Alexander Morozov
2015-11-17 11:03:40 -08:00
19 changed files with 72 additions and 62 deletions

View File

@ -133,7 +133,7 @@ func (d *Driver) Cleanup() error {
}
// Create adds a device with a given id and the parent.
func (d *Driver) Create(id, parent string) error {
func (d *Driver) Create(id, parent, mountLabel string) error {
if err := d.DeviceSet.AddDevice(id, parent); err != nil {
return err
}