Set the circumstance more reliably

If the RPC call failed, don't even look at the response. It is often
initialized to zero, but we shouldn't count on that.

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Call the DS read/write/commit before FH check

This fixes the failed assertions Marc Eshel was running into in testing
pNFS Files.

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Documentation fix

Since there is no Ganesha unsafe buffer any more, remove a @todo comment
that referenced supporting it.

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>
Allocate the right amount of memory for ds_ops

Thanks to Sandeep Joshi <sanjos100@gmail.com> for catching this.

Signed-off-by: Adam C. Emerson <aemerson@linuxbox.com>