OpenAFS Master Repository branch, openafs-stable-1_8_x, updated. openafs-stable-1_8_13_2-120-g691e90f
Gerrit Code Review
gerrit@openafs.org
Mon, 11 Aug 2025 09:51:51 -0400
The following commit has been merged in the openafs-stable-1_8_x branch:
commit 691e90fa1c58d9afb2e26fe6b9022329364ac048
Author: Cheyenne Wills <cwills@sinenomine.net>
Date: Thu Jul 31 10:20:13 2025 -0600
linux: refactor afs_linux_writepage
In preparation for a future commit, refactor afs_linux_writepage() by
moving the code that handles locking/obtaining the credential structure,
and unlocking the vcache/releasing the credential structure into their
own functions, afs_linux_begin_writeback() and afs_linux_end_writeback().
As a precaution, set the pointer to the creds to NULL after freeing it.
There are no functional changes other than setting *acredp = NULL after
the free.
Reviewed-on: https://gerrit.openafs.org/16436
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
(cherry picked from commit eb0bd53b8d03d764861a45cf91faeecda415f5d7)
Change-Id: I7b78fd3d37c3fb53ca03f27c7dbc360f69c24a20
Reviewed-on: https://gerrit.openafs.org/16499
Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/afs/LINUX/osi_vnodeops.c | 88 ++++++++++++++++++++++++++++----------------
1 file changed, 57 insertions(+), 31 deletions(-)
--
OpenAFS Master Repository