]> git.michaelhowe.org Git - packages/o/openafs.git/commit
aklog: Clean up cell handling
authorSimon Wilkinson <sxw@your-file-system.com>
Fri, 12 Feb 2010 10:19:26 +0000 (10:19 +0000)
committerDerrick Brashear <shadow@dementia.org>
Wed, 17 Feb 2010 13:12:32 +0000 (05:12 -0800)
commit60ea6a23ab98698351de4b0592dd5df2ac8eebc0
tree63ba0ac1a7861fcc3c5dbd3ad44dc1ec22d8aec4
parent05d667e59bbf5e32efa08d5dd7156db20a56f9d9
aklog: Clean up cell handling

Clean up the aklog get_cellconfig routine, so that it is no longer
reliant upon global variables.
  * Tidy the handling of local_cell, and use dynamically allocated,
    rather than fixed length buffers.
  * Use the cell name contained within the afsconf_cell structure,
    rather than a local copy
  * Access linked cell information from afsconf_cell, rather than
    explicitly returning it
  * Don't use globals for linkedcell

Change-Id: I6ad42c70dcac7f285997be7c95a77dc67bf63679
Reviewed-on: http://gerrit.openafs.org/1321
Reviewed-by: Alistair Ferguson <alistair.ferguson@mac.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/aklog/aklog.c