]> git.michaelhowe.org Git - packages/o/openafs.git/commit
afs: Avoid SetupVolume panic
authorAndrew Deason <adeason@sinenomine.net>
Fri, 8 Feb 2013 23:24:28 +0000 (17:24 -0600)
committerStephan Wiesand <stephan.wiesand@desy.de>
Tue, 20 Aug 2013 19:49:37 +0000 (12:49 -0700)
commitbd52d1a2c3cb50aba533adc44a99e9c20db27706
tree8c322db4fdd5ab2ac7bb4ed93f52cde4dd42f26c
parent4d03cfc8bd6545e60ff63d206841dc8537e9d07a
afs: Avoid SetupVolume panic

Currently SetupVolume panics if it cannot successfully read a
volumeinfo entry from disk. Try to return an error instead, so we
don't panic the machine.

Reviewed-on: http://gerrit.openafs.org/9094
Reviewed-by: Chas Williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
(cherry picked from commit 6f7ae535bbac2a5376358801b7f2c9e072f2d141)

Change-Id: Ib8ea06192bfcd6c2111444db325abc4a90190bbc
Reviewed-on: http://gerrit.openafs.org/9131
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Chas Williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/afs/afs_volume.c