+ */
+static int score_open(__a_unused const char *dir)
+{
+ score_table_desc.dir = NULL; /* this table has only volatile columns */
+ return osl_open_table(&score_table_desc, &score_table);
+}
+
+static int score_event_handler(enum afs_events event, struct para_buffer *pb,
+ void *data)
+{
+ int ret;
+
+ switch(event) {
+ case ATTRIBUTE_ADD:
+ case ATTRIBUTE_REMOVE:
+ case ATTRIBUTE_RENAME: {
+ score_close();
+ return score_open(NULL);
+ }
+ default: return 1;
+ }
+}
+
+/**
+ * Initialize the scoring subsystem.