/**
* Check all moods for syntax errors.
*
- * \param fd The afs socket.
- * \param query Unused.
+ * \param aca Only ->pbout is used for diagnostics.
*
* \return Negative on fatal errors. Inconsistent mood definitions are not
* considered an error.
*/
-int mood_check_callback(int fd, __a_unused const struct osl_object *query)
+int mood_check_callback(struct afs_callback_arg *aca)
{
int ret;
struct para_buffer pb = {
.max_size = shm_get_shmmax(),
.private_data = &(struct afs_max_size_handler_data) {
- .fd = fd,
+ .fd = aca->fd,
.band = SBD_OUTPUT
},
.max_size_handler = afs_max_size_handler