-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UPSTREAM: 57967: Fixed TearDown of NFS with root squash. #18154
Conversation
flake: #17901 ? |
/retest |
/retest |
/lgtm |
@@ -208,6 +209,12 @@ func IsNotMountPoint(mounter Interface, file string) (bool, error) { | |||
// IsLikelyNotMountPoint provides a quick check | |||
// to determine whether file IS A mountpoint | |||
notMnt, notMntErr := mounter.IsLikelyNotMountPoint(file) | |||
if notMntErr != nil && os.IsPermission(notMntErr) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think you don't need to check for nil, but that is a nit ;-)
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: gnufied, jsafrane, mfojtik The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
flake: #18317 |
Automatic merge from submit-queue. |
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1518237
/assign @rootfs @gnufied