entd.c cleanup
Signed-off-by Dushan Tcholich <[email protected]>
entd.c renamed from entd.c.orig +3 -3
@@ -35,7 +35,7 @@ static int entd(void *arg);*/ #define entd_set_comm (state) \ snprintf(current->comm, sizeof(current->comm), \ - "ent:%s%s", super->s_id, (state)) + "ent:%s%s", super->s_id, (state))/** * reiser4_init_entd - initialize entd context and start kernel daemon
@@ -82,7 +82,7 @@ static struct wbq *__get_wbq(entd_contexif (list_empty (&ent->todo_list))return NULL ; - ent->nr_todo_reqs --; + ent->nr_todo_reqs--; wbq = list_entry(ent->todo_list.next, struct wbq, link);list_del_init (&wbq->link);return wbq;
@@ -131,7 +131,7 @@ static int entd(void *arg)while (!list_empty (&ent->done_list)) { rq = list_entry(ent->done_list.next, struct wbq, link);list_del_init (&rq->link); - ent->nr_done_reqs --; + ent->nr_done_reqs--;spin_unlock (&ent->guard);assert ("" , rq->written ==1 );put_wbq (rq);