]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Linux 4.5: get_link instead of follow_link+put_link
authorChaskiel Grundman <cg2v@andrew.cmu.edu>
Thu, 5 May 2016 16:35:08 +0000 (12:35 -0400)
committerStephan Wiesand <stephan.wiesand@desy.de>
Tue, 21 Jun 2016 13:43:57 +0000 (09:43 -0400)
commit51b5f42fafd58884d9f6bc76d0be2679b2087f4e
treedfd4d4762e0d910d2d9caa1a2fa837eb7fa329ab
parent6e2988d7e65b2145c11c18be64d1c51a1facb5b5
Linux 4.5: get_link instead of follow_link+put_link

In linux commit 6b255391, the follow_link inode operation was
replaced by the get_link operation, which is basically the same
but takes the inode and dentry separately, allowing for the
possibility of staying in RCU mode.

For now, only support this if page_get_link is available and we are
using the USABLE_KERNEL_PAGE_SYMLINK_CACHE

The previous test for USABLE_KERNEL_PAGE_SYMLINK_CACHE used a bogus,
undefined configure variable (ac_cv_linux_kernel_page_follow_link).
Remove it, as it was not needed

Reviewed-on: https://gerrit.openafs.org/12265
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Joe Gorse <jhgorse@gmail.com>
Tested-by: Joe Gorse <jhgorse@gmail.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
(cherry picked from commit 2ef27ea1bb032cee8d26980e60e02b52a0805763)

Change-Id: I828823ad16f24bae583de9cf436844565217918d
Reviewed-on: https://gerrit.openafs.org/12301
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
Tested-by: Stephan Wiesand <stephan.wiesand@desy.de>
acinclude.m4
src/afs/LINUX/osi_vnodeops.c