+/* Arrange for a reference to an inode to be dropped when the RPC request
+ * completes. */
+void schedule_inode_unref(RPCRequest *req, BlueSkyInode *inode)
+{
+ struct cleanup_list *c = g_new(struct cleanup_list, 1);
+ c->func = (void (*)(void *))bluesky_inode_unref;
+ c->arg = inode;
+ c->next = req->cleanup;
+ req->cleanup = c;
+}
+