]> 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)
committerDerrick Brashear <shadow@your-file-system.com>
Tue, 12 Feb 2013 19:39:19 +0000 (11:39 -0800)
commit6f7ae535bbac2a5376358801b7f2c9e072f2d141
tree36bba55942588d8bae313778a9590c2acbbd6f0e
parent8f95dc9eb92cb31f9d29eb87daac747f53b5a1cc
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.

Change-Id: Iad3c2c857f1b736fcf4a142338d9e219bab68969
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>
src/afs/afs_volume.c