mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
adce3ca48e
1. devmapper_wrapper_{,no_}deferred_remove.go: Comments about LibraryDeferredRemovalSupport were very totally misleading to me. This thing has nothing to do with either static or dynamic linking (but with build tags). Fix the comment accordingly. 2. devmapper.go: Reveal the source of those magic device* constants. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
15 lines
375 B
Go
15 lines
375 B
Go
// +build linux,cgo,libdm_no_deferred_remove
|
|
|
|
package devicemapper
|
|
|
|
// LibraryDeferredRemovalSupport tells if the feature is enabled in the build
|
|
const LibraryDeferredRemovalSupport = false
|
|
|
|
func dmTaskDeferredRemoveFct(task *cdmTask) int {
|
|
// Error. Nobody should be calling it.
|
|
return -1
|
|
}
|
|
|
|
func dmTaskGetInfoWithDeferredFct(task *cdmTask, info *Info) int {
|
|
return -1
|
|
}
|