afs: Pay attention to fetchOps->destroy error code
authorAndrew Deason <adeason@sinenomine.net>
Thu, 30 Jan 2014 20:43:57 +0000 (14:43 -0600)
committerDerrick Brashear <shadow@your-file-system.com>
Tue, 4 Feb 2014 20:41:32 +0000 (12:41 -0800)
commitb39833048124030bc15526d116b504fd43e100bb
tree825950293da5f6e6d65fd20de813a1d855a2383a
parent3b5c636480cda73938a532ffd079ba040907f78f
afs: Pay attention to fetchOps->destroy error code

The ->destroy function in our fetchops could change our error code, or
even raise a new error. Don't ignore it. This currently doesn't do
much, since fetchDestroy currently won't change the error code if it's
given an error, but this can change in the future.

Change-Id: I6fa98cc709cb0fbd4c1e868ba4b9be53313573ff
Reviewed-on: http://gerrit.openafs.org/10787
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
src/afs/afs_fetchstore.c