OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_2-350-g503ef82

Gerrit Code Review gerrit@openafs.org
Tue, 28 Oct 2025 19:07:22 -0400


The following commit has been merged in the master branch:
commit 503ef823970695eb646a323f38b9c07d52971e69
Author: Cheyenne Wills <cwills@sinenomine.net>
Date:   Thu Oct 23 15:15:38 2025 -0600

    linux: remove implied def HAVE_LINUX_FILEMAP_GET_FOLIO
    
    Commit:
      Linux: Use struct kiocb * for aops write_begin/end (1ad827ded0ed9)
    added 2 implied defines in osi_vnodeops, one for
    HAVE_LINUX_WRITE_BEGIN_END_FOLIO and one for HAVE_LINUX_FILEMAP_GET_FOLIO.
    The HAVE_LINUX_FILEMAP_GET_FOLIO was not needed, and causes a build
    failure:
    
      osi_vnodeops.c:4056:10: error: "HAVE_LINUX_FILEMAP_GET_FOLIO" redefined [-Werror]
       4056 | # define HAVE_LINUX_FILEMAP_GET_FOLIO
            |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    This is because the configure test for __filemap_get_folio() succeeds
    (linux 6.15 and later) and the test for write_begin/end functions take a
    kiocb also succeeds (6.17 or later).
    
    Remove the unnecessary define.
    
    Change-Id: I9a5eadeae911ded80698d7246a08c53028f937a1
    Reviewed-on: https://gerrit.openafs.org/16589
    Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
    Reviewed-by: Andrew Deason <adeason@sinenomine.net>
    Reviewed-by: Marcio Brito Barbosa <mbarbosa@sinenomine.net>
    Tested-by: BuildBot <buildbot@rampaginggeek.com>

 src/afs/LINUX/osi_vnodeops.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

-- 
OpenAFS Master Repository