]> git.michaelhowe.org Git - packages/o/openafs.git/commit
bucoord: restore requires server and partition
authorSimon Wilkinson <sxw@your-file-system.com>
Mon, 4 Mar 2013 16:31:50 +0000 (16:31 +0000)
committerDerrick Brashear <shadow@your-file-system.com>
Tue, 12 Mar 2013 13:51:26 +0000 (06:51 -0700)
commitcfeda375fd4155a2f8a01717e8733be937fa7a48
tree82a63506376824f10f39f7698cd5d9cb723fea19
parentd672d5ee78d7673f3c42a7a343989b2bd4dca02b
bucoord: restore requires server and partition

The VolRestoreCmd sub command requires that the user specifies
the server and partition - calls which don't do so won't get past
libcmd. Don't check again in the handler that they have been supplied,
as it confuses things.

Caught by coverity (#985953)

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