forked from pool/openafs
cfa65eea8c
- update to openafs-1.8.11 - apply upstream patches for kernel 6.8 * 056a7a8.diff * 05ac614.diff * 073adec.diff * 0d9f6cf.diff * 0e983a9.diff * 112fb94.diff * 1e1bf8e.diff * 2056ce8.diff * 5312d06.diff * 67e48c8.diff * 6b20756.diff * 743d72f.diff * 7cae97b.diff * 81b910a.diff * 87ab04a.diff * 9f052c1.diff * a14a9ad.diff * a87845d.diff * aae8b00.diff * b77b304.diff * d1c89ac.diff * d9f3a2c.diff * db91384.diff * dffd0e1.diff * e0f425a.diff * e157f8f.diff * e428053.diff * ef7b8c5.diff * f5bafb0.diff * fca6fd9.diff OBS-URL: https://build.opensuse.org/request/show/1170220 OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=123
44 lines
1.7 KiB
Diff
44 lines
1.7 KiB
Diff
From 67e48c84b9971e6b865274408080fbf5ec7ba1ac Mon Sep 17 00:00:00 2001
|
|
From: Cheyenne Wills <cwills@sinenomine.net>
|
|
Date: Fri, 12 Jan 2024 15:52:57 -0700
|
|
Subject: [PATCH] afs: Add declaration for RXAFS_ResidencyCmd()
|
|
|
|
The function RXAFS_ResidencyCmd() is 'manually' defined within the
|
|
afsint.xg, so a prototype for the function is not defined.
|
|
|
|
This function is flagged due to a missing prototype when building
|
|
against a Linux 6.8 kernel (which sets the -Wmissing-declarations and
|
|
-Wmissing-prototypes compiler flags as default). Linux 6.8 commit:
|
|
'Makefile.extrawarn: turn on missing-prototypes globally' (0fcb70851f).
|
|
|
|
When building against a kernel with CONFIG_WERROR=y, the build fails.
|
|
|
|
Add a prototype for RXAFS_ResidencyCmd
|
|
|
|
There are no functional changes with this commit
|
|
|
|
The function RXAFS_ResidencyCmd() was introduced with commit:
|
|
'rename-residency-from-mrafs-to-osd-20090427' (8655541d1e)
|
|
|
|
Reviewed-on: https://gerrit.openafs.org/15619
|
|
Tested-by: BuildBot <buildbot@rampaginggeek.com>
|
|
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
|
|
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
|
|
(cherry picked from commit 1d6cfbc5f627abf3808aae97afb72662301483b5)
|
|
|
|
Change-Id: I42d0868b83e119b0c3348a3af8aaf5961c040bb2
|
|
---
|
|
|
|
diff --git a/src/fsint/afsint.xg b/src/fsint/afsint.xg
|
|
index 9fe4980..cdcd07a 100644
|
|
--- a/src/fsint/afsint.xg
|
|
+++ b/src/fsint/afsint.xg
|
|
@@ -664,6 +664,7 @@
|
|
) = 220;
|
|
|
|
#ifdef RPC_CLIENT
|
|
+%int RXAFS_ResidencyCmd(struct rx_connection *z_conn, AFSFid *Fid, struct FsCmdInputs *Inputs, struct FsCmdOutputs *Outputs);
|
|
%int RXAFS_ResidencyCmd(struct rx_connection *z_conn, AFSFid *Fid, struct FsCmdInputs *Inputs, struct FsCmdOutputs *Outputs)
|
|
%{
|
|
% return RXAFS_FsCmd(z_conn, Fid, Inputs, Outputs);
|