Skip to content

Commit

Permalink
Merge pull request #60510 from andrewsykim/automated-cherry-pick-of-#…
Browse files Browse the repository at this point in the history
…60440-origin-release-1.9

Automatic merge from submit-queue.

Cherry pick 60440 to release v1.9

Cherry pick of #60440

```release-note
kubelet: fix bug where character devices are not recognized
```

cc @saad-ali @jsafrane @dixudx
  • Loading branch information
Kubernetes Submit Queue committed Mar 23, 2018
2 parents ee10d80 + 2deb7af commit 7f0dd79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/util/mount/mount_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ func (mounter *Mounter) GetFileType(pathname string) (FileType, error) {
case syscall.S_IFBLK:
return FileTypeBlockDev, nil
case syscall.S_IFCHR:
return FileTypeBlockDev, nil
return FileTypeCharDev, nil
case syscall.S_IFDIR:
return FileTypeDirectory, nil
case syscall.S_IFREG:
Expand Down

0 comments on commit 7f0dd79

Please sign in to comment.