10000 devmapper.Mounted: remove by kolyshkin · Pull Request #36437 · moby/moby · GitHub
[go: up one dir, main page]

Skip to content

Conversation

kolyshkin
Copy link
Contributor

It looks like no one uses this function.

It looks like no one uses this function.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Copy link
Member
@vdemeester vdemeester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SGTM :angel:

Copy link
Member
@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

)

// FIXME: this is copy-pasted from the aufs driver.
// It should be moved into the core.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, this was added a loooong time ago (4a8a7d4), and was to satisfy an interface that later changed (b8b509e / shykes#7). Looks like in aufs this is now moved to graphdriver.Mounted() (in 65d79e3):

func (a *Driver) mounted(mountpoint string) (bool, error) {
return graphdriver.Mounted(graphdriver.FsMagicAufs, mountpoint)
}

@codecov
Copy link
codecov bot commented Mar 6, 2018

Codecov Report

❗ No coverage uploaded for pull request base (master@1346a2c). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master   #36437   +/-   ##
=========================================
  Coverage          ?   34.91%           
=========================================
  Files             ?      613           
  Lines             ?    45365           
  Branches          ?        0           
=========================================
  Hits              ?    15839           
  Misses            ?    27426           
  Partials          ?     2100

@thaJeztah
Copy link
Member

ping @tonistiigi PTAL

Copy link
Member
@cpuguy83 cpuguy83 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cpuguy83 cpuguy83 merged commit a6b1d2e into moby:master Mar 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants
0