[PATCH 18/8] entd.c cleanup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Dushan Tcholich <dusanc@xxxxxxxxx>
--- entd.c.orig	2007-10-23 16:38:35.000000000 +0200
+++ entd.c	2007-10-23 16:39:51.000000000 +0200
@@ -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_contex
 	if (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);

[Index of Archives]     [Linux File System Development]     [Linux BTRFS]     [Linux NFS]     [Linux Filesystems]     [Ext4 Filesystem]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Resources]

  Powered by Linux