]> git.michaelhowe.org Git - packages/o/openafs.git/commit
fs: Report default storebehind when errors exist
authorAndrew Deason <adeason@sinenomine.net>
Mon, 7 May 2012 20:49:34 +0000 (15:49 -0500)
committerDerrick Brashear <shadow@dementix.org>
Wed, 9 May 2012 00:53:53 +0000 (17:53 -0700)
commit60d000794d7f00453817a34af4eac0b8b9f780a8
treefd097815f88bfc93abecb7994e3347e162ec3894
parentb9c03fa6f8e696c64c90949cce34bb075aa2ae6f
fs: Report default storebehind when errors exist

After 904c9fbe, we no longer print out the default store asynchrony
when any of the supplied paths results in a pioctl error. However, if
just one (or a few) of the paths supplied results in an error (such
as, the path does not exist), this does not prevent us from reporting
the default value.

Instead, keep track of whether or not we have a valid value, and try
to determine the default if we haven't already by the end of
StoreBehindCmd, and print it out.

Reviewed-on: http://gerrit.openafs.org/7376
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Chas Williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
(cherry picked from commit 427f53eea7f9c05e7b1913c91d57777d72bc30b2)

Change-Id: I04bebe60fbb275ca44caeed9b8696283c4ded36b
Reviewed-on: http://gerrit.openafs.org/7384
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/venus/fs.c