- para_printf(&rmbd.pb, "no matches, nothing removed\n");
- else
- para_printf(&rmbd.pb, "removed %d blobs\n", rmbd.num_removed);
- result->data = rmbd.pb.buf;
- result->size = rmbd.pb.size;
- return 1;
+ ret2 = para_printf(&rmbd.pb, "no matches, nothing removed\n");
+ else {
+ ret2 = para_printf(&rmbd.pb, "removed %d blobs\n", rmbd.num_removed);
+ afs_event(BLOB_RENAME, NULL, table);
+ }
+out:
+ if (ret2 >= 0 && rmbd.pb.offset)
+ pass_buffer_as_shm(rmbd.pb.buf, rmbd.pb.offset, &fd);
+ free(rmbd.pb.buf);