The following commit has been merged in the openafs-stable-1_8_x branch:
commit 52061e0670e3ba4571cee887c6a04f6035490c95
Author: Cheyenne Wills <[email protected]>
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 <[email protected]>
    Reviewed-by: Benjamin Kaduk <[email protected]>
    (cherry picked from commit 6aa129e743e882cf30c35afd67eabf82274c5fca)
    
    Change-Id: I8afccecae7971d98f87a65db816c337fb2380854
    Reviewed-on: https://gerrit.openafs.org/15058
    Tested-by: BuildBot <[email protected]>
    Reviewed-by: Michael Laß <[email protected]>
    Reviewed-by: Andrew Deason <[email protected]>
    Reviewed-by: Michael Meffie <[email protected]>
    Reviewed-by: Stephan Wiesand <[email protected]>

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

-- 
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs

Reply via email to