]> git.michaelhowe.org Git - packages/o/openafs.git/commit
vol: Initialise list before error exit when cloning
authorSimon Wilkinson <sxw@inf.ed.ac.uk>
Wed, 13 Jul 2011 13:35:48 +0000 (14:35 +0100)
committerDerrick Brashear <shadow@dementia.org>
Thu, 14 Jul 2011 14:32:21 +0000 (07:32 -0700)
commitccd770e8a38d59619f1972672ac9392e92cfcc7b
treeeec643332ef80f173449991ba122ce2848065267
parenta508d96354ddb58182046d54be35fcb7eca14a48
vol: Initialise list before error exit when cloning

The inode list wasn't being initialised before the first call into the
error handler. This makes it possible that we end up trying to discard
items from an uninitialised list, with all the chaos that would cause.
Fix things so that this list is correctly set up.

Reviewed-on: http://gerrit.openafs.org/5001
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit beda3b239a13903d4bcd9a5d91d5ff562962cb5a)

Change-Id: I3e3c4b8565e373f74bb95416e4c9b101d02fd78f
Reviewed-on: http://gerrit.openafs.org/5007
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/vol/clone.c