mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-14 18:53:35 +00:00
util: do not use mount-utils.IsLikelyNotMountPoint
anymore
`IsLikelyNotMountPoint()` is an optimized version for `IsMountPoint()` which can not detect all type of mounts (anymore). The slower `IsMountPoint()` is more safe to use. This can cause a slight performance regression in the case there are many mountpoints on the system, but correctness is more important than speed while mounting. Fixes: #4633 Signed-off-by: Niels de Vos <ndevos@ibm.com>
This commit is contained in:
committed by
mergify[bot]
parent
76b4f53897
commit
79cf0321dd
8
vendor/modules.txt
vendored
8
vendor/modules.txt
vendored
@ -432,6 +432,9 @@ github.com/mitchellh/mapstructure
|
||||
# github.com/moby/sys/mountinfo v0.7.2
|
||||
## explicit; go 1.17
|
||||
github.com/moby/sys/mountinfo
|
||||
# github.com/moby/sys/userns v0.1.0
|
||||
## explicit; go 1.21
|
||||
github.com/moby/sys/userns
|
||||
# github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
|
||||
## explicit
|
||||
github.com/modern-go/concurrent
|
||||
@ -1167,8 +1170,8 @@ k8s.io/kubernetes/pkg/volume/util/hostutil
|
||||
k8s.io/kubernetes/pkg/volume/util/recyclerclient
|
||||
k8s.io/kubernetes/pkg/volume/util/subpath
|
||||
k8s.io/kubernetes/pkg/volume/util/types
|
||||
# k8s.io/mount-utils v0.32.2 => k8s.io/mount-utils v0.29.3
|
||||
## explicit; go 1.21
|
||||
# k8s.io/mount-utils v0.32.2
|
||||
## explicit; go 1.23.0
|
||||
k8s.io/mount-utils
|
||||
# k8s.io/utils v0.0.0-20241210054802-24370beab758
|
||||
## explicit; go 1.18
|
||||
@ -1244,4 +1247,3 @@ sigs.k8s.io/yaml
|
||||
sigs.k8s.io/yaml/goyaml.v2
|
||||
# github.com/ceph/ceph-csi/api => ./api
|
||||
# k8s.io/client-go => k8s.io/client-go v0.32.2
|
||||
# k8s.io/mount-utils => k8s.io/mount-utils v0.29.3
|
||||
|
Reference in New Issue
Block a user