X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=create.c;h=af5694c4cba8b4148d1b083b5307fb2240335a29;hb=6a302c5863fea16e14ec6a4104e92023d8e2e977;hp=e3f09d4b61726fdac46edef85c458b157ef6431a;hpb=4074e7034641cbbbfc861961d216d58a503d0aee;p=adu.git diff --git a/create.c b/create.c index e3f09d4..af5694c 100644 --- a/create.c +++ b/create.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2008 Andre Noll + * Copyright (C) 2008 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -56,8 +56,7 @@ static int insert_global_bloom(struct stat64 *s, { if (!consider_bloom(s)) return 0; - return bloom_test_and_insert(buf, GLOBAL_BLOOM_BUF_SIZE, - global_bloom_filter); + return bloom_insert(buf, GLOBAL_BLOOM_BUF_SIZE, global_bloom_filter); } static int insert_user_bloom(struct stat64 *s, @@ -65,8 +64,7 @@ static int insert_user_bloom(struct stat64 *s, { if (!consider_bloom(s)) return 0; - return bloom_test_and_insert(buf, USER_BLOOM_BUF_SIZE, - user_bloom_filter); + return bloom_insert(buf, USER_BLOOM_BUF_SIZE, user_bloom_filter); } static int add_directory(char *dirname, uint64_t *dir_num, uint64_t *parent_dir_num, @@ -225,7 +223,7 @@ static void log_bloom_stat(struct bloom *b) NOTICE_LOG("\t%u%% of bits are set\n", percent); if (percent > 50) { WARNING_LOG("results may be unreliable!\n"); - WARNING_LOG("consider incrasing bllom filter size\n"); + WARNING_LOG("consider increasing bloom filter size\n"); } }