fix nri removeMount does not work bug
nri needs to pass the del mount info to containerd, so that containerd can handle the mount records that need to be deleted correctly
fix: https://github.com/containerd/nri/issues/80
/retest
https://github.com/containerd/nri/blob/main/pkg/api/adjustment.go#L20-L32 for consideration...
Additional consideration.. the removeMount test, linked below, only does the removeMount when the adjustment is set to "overwrite"= true..
If we are to support removal of a mount that is not an overwrite we should probably have another test for it.. https://github.com/containerd/nri/blob/main/pkg/adaptation/adaptation_suite_test.go#L453-L456
@liangjingtao11 It would be nice to have a test case for this.
@liangjingtao11 do you have time to finish this PR?
@liangjingtao11 This fix is not sufficient in it's current form as it breaks replacing a mount with another one to the same destination. I think we'd need a bit of additional code to prevent that from happening. Maybe something like this, where 8f509e7d0f2e4e9af7f7acb77e9c18f2e882efaf is an updated version of your commit, and 7ea0a47f00f853b4e970b980b1a24b082c0930f0 adds a new test case for mount removal.
@liangjingtao11 Ping. Do you have time to address the remaining issues ?
Closing in favor of updated PR #107.