mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 05:27:44 +00:00
afs: Make afs_AllocDCache static
Nothing using afs_AllocDCache outside of afs_dcache.c. Declare the function static, to ensure that nobody else uses it, and to maybe allow for more compiler optimization. Reviewed-on: https://gerrit.openafs.org/13226 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Benjamin Kaduk <kaduk@mit.edu> (cherry picked from commit 4ab70de9641807bd06056f0c1ac79550453b9574) Change-Id: I6fd9e31c4b2e862174402f731a77c91599893223 Reviewed-on: https://gerrit.openafs.org/15679 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Andrew Deason <adeason@sinenomine.net> Reviewed-by: Michael Meffie <mmeffie@sinenomine.net> Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
This commit is contained in:
parent
1a36b92977
commit
fca6fd911e
@ -1674,7 +1674,7 @@ afs_AllocDiscardDSlot(afs_int32 lock)
|
||||
*
|
||||
* \return The new dcache.
|
||||
*/
|
||||
struct dcache *
|
||||
static struct dcache *
|
||||
afs_AllocDCache(struct vcache *avc, afs_int32 chunk, afs_int32 lock,
|
||||
struct VenusFid *ashFid)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user