X-Git-Url: http://git.tuebingen.mpg.de/?p=adu.git;a=blobdiff_plain;f=create.c;h=87b0b9a0198a471e0a5a886dbce84a09c49f4901;hp=3a221ca58947eab378543717714593270a6ceb24;hb=d0bef44ffe5b6f985f4ba6a718e08afb50f096c6;hpb=3bb9b0ca535be1eb28b64972bdf0e205e6afc93e diff --git a/create.c b/create.c index 3a221ca..87b0b9a 100644 --- a/create.c +++ b/create.c @@ -134,8 +134,6 @@ static int scan_dir(char *dirname, uint64_t *parent_dir_num) ret = create_user_table(uid, &ui); if (ret < 0) goto out; - ui->bytes += size; - ui->files++; ret = update_user_row(ui->table, this_dir_num, &size); if (ret < 0) goto out; @@ -151,6 +149,11 @@ out: return ret; } +/** + * The main function of the create mode. + * + * \return Standard. + */ int com_create(void) { uint64_t zero = 0ULL;