fs: Can't use store behind data if pioctl errored
authorSimon Wilkinson <sxw@inf.ed.ac.uk>
Sat, 12 Jun 2010 09:35:34 +0000 (10:35 +0100)
committerDerrick Brashear <shadow@dementia.org>
Sun, 13 Jun 2010 05:41:17 +0000 (22:41 -0700)
commit904c9fbebab97b760dd853fa393e1c576c7db00c
tree0e6300487b694fc01d24915cbe25ab96bd0f3fbf
parent6dd07af215e2cc75cb7c902b5a06920a5ee5235c
fs: Can't use store behind data if pioctl errored

If the call to a pioctl returns an error, it's possible to reach
the end of the storebehind function and try and print an old, or
bogus, value from the pioctl data block.

Caught by clang-analyzer

Change-Id: I1209c0c24730273510fbad98a75a429917836605
Reviewed-on: http://gerrit.openafs.org/2142
Reviewed-by: Russ Allbery <rra@stanford.edu>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/venus/fs.c