agrover/targetcli-fb — pull request #45 by agrover (2014-11-11 20:41:04+00:00)
Title: Fix configuration tree inconsistency

Deleting a storage object refreshes the root. This causes the root
to release its references to its children and regenerate them. However if
we are cd'd to a node such as /backstores/ramdisk, then the objects
we are using are the old ones, not the new ones connected to the root node,
and creating a new storage object will update our tree but not root's
since we've become disconnected.

Fix this by no longer refreshing the root -- it should not require
refreshing anyways.

Reported-by: Eric Murphy
Reported-by: Leeman Strout
Signed-off-by: Andy Grover