mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-04 12:41:42 +00:00
devicemapper: Create a method to get device info with deferred remove field
Deferred reove functionality was added to library later. So in old version of library it did not report deferred_remove field. Create a new function which also gets deferred_remove field and it will be called only on newer version of library. Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
This commit is contained in:
@@ -8,3 +8,7 @@ func dmTaskDeferredRemoveFct(task *CDmTask) int {
|
||||
// Error. Nobody should be calling it.
|
||||
return -1
|
||||
}
|
||||
|
||||
func dmTaskGetInfoWithDeferredFct(task *CDmTask, info *Info) int {
|
||||
return -1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user