OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_1-12-gd1c944e
Gerrit Code Review
Thu, 6 May 2021 12:20:41 -0400
The following commit has been merged in the master branch:
Author: Mark Vitale <email@example.com>
Date: Fri Jan 29 01:30:47 2016 -0500
afs: free the Buffers array correctly during shutdown
DInit() allocates 'Buffers' with afs_max_buffers = 4*nbuffers
worth of buffer structs to allow for run-time expansion.
But shutdown_bufferpackage() free 'Buffers' as if it only had
nbuffers worth of buffer structs.
Correct the size of Buffers passed to afs_osi_Free().
Discovered during Solaris shutdown testing with kmem_flags=x0f.
This bug is not Solaris-specific, but it may be symptomless on other
Introduced by commit e7c966354c428a5a5929a3db6a829ee71c8ba2fc 'Flexible
client buffer growth'; this only affected cold shutdowns (afsd
After commit 2336164d1bf63980419d3a870f908f1f384fdfc0 'afs: Actually
free resources during warm shutdown', this bug also affects warm
shutdowns (the default when /afs is unmounted).
Tested-by: BuildBot <firstname.lastname@example.org>
Reviewed-by: Benjamin Kaduk <email@example.com>
Reviewed-by: Andrew Deason <firstname.lastname@example.org>
src/afs/afs_buffer.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
OpenAFS Master Repository