OpenAFS Master Repository branch, master, updated. BP-openafs-stable-1_8_x-555-g252b3bc
Gerrit Code Review
gerrit@openafs.org
Thu, 2 Apr 2020 00:35:42 -0400
The following commit has been merged in the master branch:
commit 252b3bcc75ea141ff93a7b3147865f4b952fcaca
Author: Andrew Deason <adeason@sinenomine.net>
Date: Fri Aug 24 13:03:24 2018 -0500
afs: Detect VIOCPREFETCH special case properly
Currently, afs_syscall_pioctl handles the VIOCPREFETCH pioctl as a
special case, calling into a different code path to handle
backgrounding the prefetch operation. However, we detect that we're
handling a VIOCPREFETCH operation just by looking at the lower 8 bits
of the given opcode. This means that any pioctl that ends in 0x0F will
trigger this codepath, such as if we add a 'C' or 'O' pioctl that uses
code 0x0F.
We only want to catch VIOCPREFETCH requests for this code path, so fix
the check to also check if we're processing a 'V' pioctl.
Change-Id: Ica8c2364f96aa3c8b4d2213bebd9a1e4cb6fa730
Reviewed-on: https://gerrit.openafs.org/13301
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/afs/afs_pioctl.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
--
OpenAFS Master Repository