Accepting request 1132415 from filesystems

OBS-URL: https://build.opensuse.org/request/show/1132415
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=45
This commit is contained in:
Ana Guerrero 2023-12-11 20:51:07 +00:00 committed by Git OBS Bridge
commit dba25596c1
3 changed files with 23 additions and 0 deletions

11
handle_backports.diff Normal file
View File

@ -0,0 +1,11 @@
--- a/src/afs/LINUX/osi_vnodeops.c
+++ b/src/afs/LINUX/osi_vnodeops.c
@@ -971,7 +971,7 @@
# else
.splice_write = generic_file_splice_write,
# endif
-# if LINUX_VERSION_CODE >= KERNEL_VERSION(6,5,0)
+# if LINUX_VERSION_CODE >= KERNEL_VERSION(6,4,0)
.splice_read = filemap_splice_read,
# else
.splice_read = generic_file_splice_read,

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Dec 11 04:58:30 UTC 2023 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
- patch upstream patch fef2457.diff for 6.5 to handle backport by SUSE
* handle_backports.diff
-------------------------------------------------------------------
Fri Nov 10 08:53:16 UTC 2023 - Christof Hanke <christof.hanke@mpcdf.mpg.de>

View File

@ -113,6 +113,9 @@ Patch6: 6de0a64.diff
Patch5: 5b647bf.diff
Patch7: 6413fdb.diff
Patch8: 4f1d810.diff
# PATCH-HANDLE-BACKPORTS
# some kernel-features from 6.5 are apparently in 6.4
Patch99: handle_backports.diff
# GENERAL BuildRequires and Requires
#
@ -331,6 +334,9 @@ done
%patch6 -p1
%patch7 -p1
%patch8 -p1
%if 0%{?sle_version} == 150600
%patch99 -p1
%endif
./regen.sh