]> git.michaelhowe.org Git - packages/o/openafs.git/commit
afs: Add some comments on GetValidDSlot panics
authorAndrew Deason <adeason@sinenomine.net>
Thu, 1 Nov 2012 21:46:13 +0000 (16:46 -0500)
committerStephan Wiesand <stephan.wiesand@desy.de>
Wed, 30 Oct 2013 18:43:04 +0000 (11:43 -0700)
commitac2d87fb6380de2ba83013983ad9c53f81347e11
tree419e01639894bbd9adeca495362ee561e1011351
parentc8ffb8b9eefc8c2a0c6b41e3e29c0f03940a5fcf
afs: Add some comments on GetValidDSlot panics

A couple of call sites for afs_GetValidDSlot currently panic if an
error is returned, but no explanation is given. Add a few comments
helping explain why there is a panic there, instead of graceful error
handling.

Reviewed-on: http://gerrit.openafs.org/8407
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
(cherry picked from commit 3081a2cff2e4f9499268854504873fa801d50ce5)

Change-Id: I3bbe8f32683cb6086add494641b206c5b861fe3a
Reviewed-on: http://gerrit.openafs.org/10358
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Marc Dionne <marc.c.dionne@gmail.com>
Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/afs/afs_segments.c