OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_1-188-g52d8df2

Gerrit Code Review gerrit@openafs.org
Thu, 14 Jul 2022 11:01:29 -0400


The following commit has been merged in the master branch:
commit 52d8df218ff27c139ede221ec4decf593610fc47
Author: Cheyenne Wills <cwills@sinenomine.net>
Date:   Tue Jul 5 10:33:19 2022 -0600

    Linux-5.19: Remove flags from aops->write_begin
    
    The Linux 5.19 commits:
    
     fs: Remove aop flags parameter from grab_cache_page_write_begin()
      (b7446e7c)
     fs: Remove flags parameter from aops->write_begin (9d6b0cd7)
    
    removed the flags parameter from the address space operations
    'write_begin' as well as removing the flags parameter from the Linux
    function 'grab_cache_page_write_begin'.
    
    Add an autoconf test to see if grab_cache_page_write_begin takes 2 or
    3 parameters. Use this as a test to determine if the address space
    operations 'write_begin' takes a flags parameter.
    
    Create a version of afs_linux_write_begin that does not take a flags
    parameter, which also calls grab_cache_page_write_begin without flags.
    
    Change-Id: Ib98c615e6964202748c78037c9ecac459fc3372b
    Reviewed-on: https://gerrit.openafs.org/15041
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Andrew Deason <adeason@sinenomine.net>
    Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
    Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>

 src/afs/LINUX/osi_compat.h   |  4 +++-
 src/afs/LINUX/osi_vnodeops.c | 30 +++++++++++++++++++++++++++++-
 src/cf/linux-kernel-func.m4  |  7 ++++++-
 3 files changed, 38 insertions(+), 3 deletions(-)

-- 
OpenAFS Master Repository