X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=blob.c;h=adfdb1a999fa53a873959d5af6b96a15ac5f6f58;hp=7aedf59bb9d3da7ead694f9c2d85c2d8e52da9d7;hb=4f18e922663731106fbc64dcc0583a7b017ac407;hpb=a7967902aa937e91d35767b3eba2b77343e8b822 diff --git a/blob.c b/blob.c index 7aedf59b..adfdb1a9 100644 --- a/blob.c +++ b/blob.c @@ -66,7 +66,7 @@ static struct osl_column_description blob_cols[] = { /** Define an osl table description for a blob table. */ #define DEFINE_BLOB_TABLE_DESC(table_name) \ - struct osl_table_description table_name ## _table_desc = { \ + static struct osl_table_description table_name ## _table_desc = { \ .name = #table_name, \ .num_columns = NUM_BLOB_COLUMNS, \ .flags = OSL_LARGE_TABLE, \ @@ -295,7 +295,7 @@ static void com_rmblob_callback(struct osl_table *table, int fd, ret2 = para_printf(&rmbd.pb, "no matches, nothing removed\n"); else { ret2 = para_printf(&rmbd.pb, "removed %d blobs\n", pmd.num_matches); - afs_event(BLOB_RENAME, NULL, table); + afs_event(BLOB_REMOVE, NULL, table); } out: if (ret2 >= 0 && rmbd.pb.offset)