viced: Don't store rc from IH_DEC on error path
authorSimon Wilkinson <sxw@your-file-system.com>
Fri, 22 Feb 2013 10:16:10 +0000 (10:16 +0000)
committerJeffrey Altman <jaltman@your-file-system.com>
Sun, 24 Feb 2013 19:40:43 +0000 (11:40 -0800)
commit11e1107684c92a6c9e3646d7d7c329ae1556147b
treee424f9948256ef7b33c2928068c20b999188c069
parent66fea9b7d3cf4799600e8bab71729b3567497df9
viced: Don't store rc from IH_DEC on error path

If CopyOnWrite has already failed, and is taking the volume offline
for salvage we can't (and don't) do anything with further errors from
IH_DEC. Instead of assigning these to 'rc', just ignore them.

Caught by clang-analyzer

Change-Id: I7bcd82f124740e3ca3d11cb2b079aa7ea5751cf9
Reviewed-on: http://gerrit.openafs.org/9239
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
src/viced/afsfileprocs.c