/** Number of admissible files */
unsigned num;
};
-struct afs_statistics statistics;
+static struct afs_statistics statistics;
/**
* Each line of the current mood corresponds to a mood_item.
int moods_event_handler(enum afs_events event, __a_unused struct para_buffer *pb,
void *data)
{
- switch(event) {
+ if (!current_mood)
+ return 0;
+ switch (event) {
/*
* The three blob events might change the set of admissible files,
* so we must reload the score list.