Rename mount.IsBind to mount.MakeBindOpts

This commit is contained in:
Travis Rhoden
2019-08-27 10:16:10 -06:00
parent bcb464db7b
commit ef855c7c08
5 changed files with 7 additions and 7 deletions

View File

@@ -47,7 +47,7 @@ var _ mount.Interface = &execMounter{}
// Mount runs mount(8) using given exec interface.
func (m *execMounter) Mount(source string, target string, fstype string, options []string) error {
bind, bindOpts, bindRemountOpts := mount.IsBind(options)
bind, bindOpts, bindRemountOpts := mount.MakeBindOpts(options)
if bind {
err := m.doExecMount(source, target, fstype, bindOpts)