mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Correct copy paste mistage in pkg/mount/mountinfo_freebsd.go that caused compile errors.
Signed-off-by: Stig Larsson <stig@larsson.dev>
This commit is contained in:
parent
3998dffb80
commit
6205fcf60d
1 changed files with 3 additions and 3 deletions
|
@ -13,8 +13,8 @@ import (
|
|||
"unsafe"
|
||||
)
|
||||
|
||||
// Parse /proc/self/mountinfo because comparing Dev and ino does not work from
|
||||
// bind mounts.
|
||||
|
||||
//parseMountTable returns information about mounted filesystems
|
||||
func parseMountTable(filter FilterFunc) ([]*Info, error) {
|
||||
var rawEntries *C.struct_statfs
|
||||
|
||||
|
@ -37,7 +37,7 @@ func parseMountTable(filter FilterFunc) ([]*Info, error) {
|
|||
|
||||
if filter != nil {
|
||||
// filter out entries we're not interested in
|
||||
skip, stop = filter(p)
|
||||
skip, stop = filter(&mountinfo)
|
||||
if skip {
|
||||
continue
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue