OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-4565-g15260c7
Gerrit Code Review
gerrit@openafs.org
Thu, 22 Jan 2015 10:40:19 -0500
The following commit has been merged in the master branch:
commit 15260c7fdc5ac8fe9fb1797c8e383c665e9e0ccd
Author: Marc Dionne <marc.dionne@your-file-system.com>
Date: Thu Dec 18 08:43:22 2014 -0500
Linux: d_splice_alias may drop inode reference on error
d_splice_alias now drops the inode reference on error, so we
need to grab an extra one to make sure that the inode doesn't
go away, and release it when done if there was no error.
For kernels that may not drop the reference, provide an
additional iput() within an ifdef. This could be hooked up
to a configure option to allow building a module for a kernel
that is known not to drop the reference on error. That hook
is not provided here. Affected kernels should be the early
3.17 ones (3.17 - 3.17.2); 3.16 and older kernels should not
return errors here.
[kaduk@mit.edu add configure option to control behavior, which
is mandatory on non-buildbot linux systems]
Change-Id: Id1786ac2227b4d8e0ae801fe59c15a0ecd975bed
Reviewed-on: http://gerrit.openafs.org/11643
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Michael Laß <lass@mail.uni-paderborn.de>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
acinclude.m4 | 26 ++++++++++++++++++++++++++
src/afs/LINUX/osi_vnodeops.c | 29 ++++++++++++++++++++++++++---
2 files changed, 52 insertions(+), 3 deletions(-)
--
OpenAFS Master Repository