Skip to content

Commit 0d21fb4

Browse files
authored
Merge pull request #13013 from spowelljr/fixBadMount
mount: fix `Bad file descriptor`
2 parents d94b301 + 2d20e0a commit 0d21fb4

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

test/integration/functional_test_mount_test.go

-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ func validateMountCmd(ctx context.Context, t *testing.T, profile string) { // no
5959
}
6060

6161
t.Run("any-port", func(t *testing.T) {
62-
t.Skip("Skipping until https://github.com/kubernetes/minikube/issues/12301 is resolved.")
6362
tempDir, err := os.MkdirTemp("", "mounttest")
6463
defer func() { // clean up tempdir
6564
err := os.RemoveAll(tempDir)

third_party/go9p/srv_fcall.go

-6
Original file line numberDiff line numberDiff line change
@@ -193,12 +193,6 @@ func (srv *Srv) walk(req *SrvReq) {
193193
return
194194
}
195195

196-
/* we can't walk open files */
197-
if fid.opened {
198-
req.RespondError(Ebaduse)
199-
return
200-
}
201-
202196
if tc.Fid != tc.Newfid {
203197
req.Newfid = conn.FidNew(tc.Newfid)
204198
if req.Newfid == nil {

0 commit comments

Comments
 (0)