smb_tree_getattr
static int smb_tree_getattr(const smb_kshare_t *, smb_node_t *, smb_tree_t *);
if (smb_tree_getattr(si, snode, tree) != 0) {