OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3858-ga2bfa0e
Gerrit Code Review
gerrit@openafs.org
Fri, 12 Jul 2013 08:46:04 -0700 (PDT)
The following commit has been merged in the master branch:
commit a2bfa0e853fb4954fd06a00ea6fbc55c39e76b8a
Author: Jeffrey Hutzelman <jhutz@cmu.edu>
Date: Wed Jun 12 16:22:36 2013 -0400
libafs/LINUX: avoid leaks due to corrupt dir
When a corrupt directory is discovered, scanning stops immediately and
readdir returns ENOENT. Currently, the vcache lock is unlocked and the
dcache containing the directory is released, but that's not enough.
It's also necessary to unlock the dcache, on which we hold a read lock,
and to clear the vcache state which records an in-progress readdir.
Change-Id: I408e8bc8b1f4a0ebc1740410da5d760f30b4c875
Reviewed-on: http://gerrit.openafs.org/9971
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
src/afs/LINUX/osi_vnodeops.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
--
OpenAFS Master Repository