HomeFreeBSD

Fixed invalid resource re-use in file_find()

Description

Fixed invalid resource re-use in file_find()

File descriptors are a per-process resource. The same descriptor
in different processes can refer to different files. find_file()
incorrectly assumed that file descriptors are globally unique.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes ZFS issue #386

Details

Provenance
Gunnar Beutner <gunnar@beutner.name>Authored on Oct 11 2011, 4:50 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Oct 11 2011, 4:51 PM
Parents
rG4a777c028c7e: Prep spl-0.6.0-rc6 tag
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG763b2f3b57af: Fixed invalid resource re-use in file_find() (authored by Gunnar Beutner <gunnar@beutner.name>).Oct 11 2011, 4:51 PM