OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_10-4-g663bdfc
Gerrit Code Review
gerrit@openafs.org
Thu, 6 Nov 2014 07:15:08 -0500
The following commit has been merged in the openafs-stable-1_6_x branch:
commit 663bdfcb16ab742ef12acca110f279b749f15586
Author: Marc Dionne <marc.dionne@your-file-system.com>
Date: Thu Sep 25 07:52:12 2014 -0300
Linux 3.17: Deal with d_splice_alias errors
In 3.17 the logic in d_splice_alias has changed. Of interest to
us is the fact that it will now return an EIO error if it finds
an existing connected directory for the dentry, where it would
previously have added a new alias for it. As a result the end
user can get EIO errors when accessing any file in a volume
if the volume was first accessed through a different path (ex:
RO path vs RW path).
This commit just restores the old behaviour, adding the directory
alias manually in the error case, which is what older versions
of d_splice_alias used to do.
Reviewed-on: http://gerrit.openafs.org/11492
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Perry Ruiter <pruiter@sinenomine.net>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: D Brashear <shadow@your-file-system.com>
(cherry picked from commit 5815ee92a41cdcf105741d834042a5617dc4c219)
Change-Id: Ie86009ede93255c85fcf640af14c598fe1e42ca9
Reviewed-on: http://gerrit.openafs.org/11550
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/afs/LINUX/osi_vnodeops.c | 15 ++++++++++++---
1 files changed, 12 insertions(+), 3 deletions(-)
--
OpenAFS Master Repository