Reviewed by: Serapheim Dimitropoulos <[email protected]>
Reviewed by: Matthew Ahrens <[email protected]>
Reviewed by: Dan Kimmel <[email protected]>

dir_is_empty_readdir() immediately returns if fdopendir() fails.
We should close dirfd when that happens.
You can view, comment on, or merge this pull request online at:

  https://github.com/openzfs/openzfs/pull/414

-- Commit Summary --

  * 8430 dir_is_empty_readdir() doesn't properly handle error from fdopendir()

-- File Changes --

    M usr/src/lib/libzfs/common/libzfs_mount.c (1)

-- Patch Links --

https://github.com/openzfs/openzfs/pull/414.patch
https://github.com/openzfs/openzfs/pull/414.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openzfs/openzfs/pull/414

------------------------------------------
openzfs-developer
Archives: 
https://openzfs.topicbox.com/groups/developer/discussions/T534e4d203e03c5ed-Mc2bd94c1356aceff9dd6cbbc
Powered by Topicbox: https://topicbox.com

Reply via email to