1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon/graphdriver/btrfs
Liu Bo b2e27fee53 Graphdriver/btrfs: Avoid using single d.Get()
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>
2016-02-04 10:25:24 -08:00
..
btrfs.go Graphdriver/btrfs: Avoid using single d.Get() 2016-02-04 10:25:24 -08:00
btrfs_test.go Fix btrfs recursive btrfs subvol delete 2015-12-15 18:12:40 -05:00
dummy_unsupported.go
version.go
version_none.go Fix typos found across repository 2015-12-13 18:04:12 +02:00
version_test.go