OpenAFS Master Repository branch, openafs-stable-1_8_x, updated. openafs-stable-1_8_8_1-61-g52061e0

Gerrit Code Review gerrit@openafs.org
Thu, 4 Aug 2022 14:07:25 -0400


The following commit has been merged in the openafs-stable-1_8_x branch:
commit 52061e0670e3ba4571cee887c6a04f6035490c95
Author: Cheyenne Wills <cwills@sinenomine.net>
Date:   Wed Mar 30 11:09:45 2022 -0600

    Linux-5.18 replace set_page_dirty with dirty_folio
    
    The commits going into Linux 5.18:
    
      fs: Add aops->dirty_folio (6f31a5a261db)
      fs: Convert __set_page_dirty_buffers to block_dirty_folio (e621900ad2)
      fs: Remove aops ->set_page_dirty (3a3bae50af)
    
    replaces the address_space_operations structure member set_page_dirty
    which with dirty_folio.  The linux function __set_page_dirty_buffers is
    replaced by block_dirty_folio.
    
    Nothing within afs uses or implements the set_page_dirty function,
    however the structure member is required to be initialized.
    
    Add an autoconf test for the dirty_folio member and if present, set the
    address_space_operations member dirty_folio to block_dirty_folio
    instead of setting the set_page_dirty member.
    
    Reviewed-on: https://gerrit.openafs.org/14939
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
    (cherry picked from commit 6aa129e743e882cf30c35afd67eabf82274c5fca)
    
    Change-Id: I8afccecae7971d98f87a65db816c337fb2380854
    Reviewed-on: https://gerrit.openafs.org/15058
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Michael Laß <lass@mail.uni-paderborn.de>
    Reviewed-by: Andrew Deason <adeason@sinenomine.net>
    Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
    Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>

 src/afs/LINUX/osi_vnodeops.c  | 4 ++++
 src/cf/linux-kernel-struct.m4 | 2 ++
 2 files changed, 6 insertions(+)

-- 
OpenAFS Master Repository