mirror of
https://github.com/moby/moby.git
synced 2026-07-26 03:07:42 +00:00
For btrfs driver, in d.Create(), Get() of parentDir is called but not followed by Put(). If we apply SElinux mount label, we need to mount btrfs subvolumes in d.Get(), without a Put() would end up with a later Remove() failure on "Device resourse is busy". This calls the subvolume helper function directly in d.Create(). Signed-off-by: Liu Bo <bo.li.liu@oracle.com>