OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3718-ge312407
Gerrit Code Review
Sat, 20 Apr 2013 08:25:33 -0700 (PDT)
The following commit has been merged in the master branch:
Author: Andrew Deason <firstname.lastname@example.org>
Date: Wed Apr 17 17:39:09 2013 -0500
Revert "LINUX: Avoid duplicate mntget in afs_linux_raw_open"
This reverts commit 5ccbbda19f11e7027300409c46715155f439424a.
dentry_open, at least on older kernels, decs the refcount on its
arguments in the case of an error. So calling mntget for each
dentry_open invocation actually is the correct thing to do.
This code may need to be further fixed in order to work for newer
kernels, but for now, at least put it back the way it was so we don't
undercount ref counts on older kernels.
Reviewed-by: Derrick Brashear <email@example.com>
Reviewed-by: Marc Dionne <firstname.lastname@example.org>
Tested-by: BuildBot <email@example.com>
src/afs/LINUX/osi_file.c | 10 +++-------
1 files changed, 3 insertions(+), 7 deletions(-)
OpenAFS Master Repository