From: Evgeniy Polyakov <zbr@ioremap.net>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
linux-fsdevel@vger.kernel.org
Subject: Re: Distributed storage release.
Date: Wed, 15 Oct 2008 03:57:02 +0400 [thread overview]
Message-ID: <20081014235702.GA24064@2ka.mipt.ru> (raw)
In-Reply-To: <20081014232350.GA27915@2ka.mipt.ru>
And to make everyone happy, here is couple of whitespace cleanups.
Everyone happy? I hope so. Now world is round again and there is no war.
commit b2be28f2f09ea9e06753cb50a2e68b4ca0ab4607
Author: Evgeniy Polyakov johnpol@2ka.mipt.ru
Date: Wed Oct 15 03:27:02 2008 +0400
Whitespace cleanups
diff --git a/drivers/block/dst/crypto.c b/drivers/block/dst/crypto.c
index 0408a66..0abff5e 100644
--- a/drivers/block/dst/crypto.c
+++ b/drivers/block/dst/crypto.c
@@ -643,7 +643,7 @@ err_out_exit:
/*
* Schedule crypto processing for given transaction.
- */
+ */
int dst_trans_crypto(struct dst_trans *t)
{
struct dst_node *n = t->n;
diff --git a/drivers/block/dst/dcore.c b/drivers/block/dst/dcore.c
index 039d59b..7f35ae4 100644
--- a/drivers/block/dst/dcore.c
+++ b/drivers/block/dst/dcore.c
@@ -795,7 +795,6 @@ static int dst_start_node(struct dst_node *n, struct dst_ctl *ctl,
return 0;
}
-
typedef int (*dst_command_func)(struct dst_node *n, struct dst_ctl *ctl,
void *data, unsigned int size);
@@ -823,7 +822,6 @@ static void cn_dst_callback(void *data)
struct dst_node *n = NULL, *tmp;
unsigned int hash;
-
if (msg->len < sizeof(struct dst_ctl)) {
err = -EBADMSG;
goto out;
diff --git a/drivers/block/dst/export.c b/drivers/block/dst/export.c
index 5de330e..b8787fe 100644
--- a/drivers/block/dst/export.c
+++ b/drivers/block/dst/export.c
@@ -271,13 +271,13 @@ static void dst_state_cleanup_export(struct dst_state *st)
if (p)
bio_put(p->bio);
-
+
dprintk("%s: st: %p, refcnt: %d, list_empty: %d, p: %p.\n",
__func__, st, atomic_read(&st->refcnt),
list_empty(&st->request_list), p);
}
}
-
+
dst_state_put(st);
}
@@ -327,7 +327,7 @@ static int dst_accept(void *init_data, void *schedule_data)
}
dprintk("%s: freeing listening socket st: %p.\n", __func__, main);
-
+
dst_state_lock(main);
dst_poll_exit(main);
dst_state_socket_release(main);
diff --git a/drivers/block/dst/state.c b/drivers/block/dst/state.c
index e07036b..c0ad522 100644
--- a/drivers/block/dst/state.c
+++ b/drivers/block/dst/state.c
@@ -809,7 +809,7 @@ int dst_trans_send(struct dst_trans *t)
struct bio *bio = t->bio;
dst_convert_cmd(&t->cmd);
-
+
dst_state_lock(st);
if (!st->socket) {
err = dst_state_init_connected(st);
@@ -828,7 +828,7 @@ int dst_trans_send(struct dst_trans *t)
dst_state_unlock(st);
return 0;
-
+
err_out_reset:
dst_state_reset_nolock(st);
err_out_unlock:
diff --git a/drivers/block/dst/thread_pool.c b/drivers/block/dst/thread_pool.c
index e0c1026..464139e 100644
--- a/drivers/block/dst/thread_pool.c
+++ b/drivers/block/dst/thread_pool.c
@@ -42,7 +42,7 @@ struct thread_pool_worker
int has_data;
int need_exit;
unsigned int id;
-
+
wait_queue_head_t wait;
void *private;
@@ -170,7 +170,7 @@ void thread_pool_del_worker_id(struct thread_pool *p, unsigned int id)
}
}
mutex_unlock(&p->thread_lock);
-
+
if (found)
thread_pool_exit_worker(w);
}
--
Evgeniy Polyakov
next prev parent reply other threads:[~2008-10-14 23:57 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-13 17:20 Distributed storage release Evgeniy Polyakov
2008-10-14 23:23 ` Evgeniy Polyakov
2008-10-14 23:57 ` Evgeniy Polyakov [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-10-06 16:00 Evgeniy Polyakov
2008-10-13 2:24 ` Andrew Morton
2008-10-13 13:38 ` Evgeniy Polyakov
2008-10-13 13:44 ` Pekka Enberg
2008-10-13 14:14 ` Evgeniy Polyakov
2008-10-14 15:51 ` Andreas Dilger
2008-10-14 16:12 ` Evgeniy Polyakov
2008-10-14 20:35 ` Andreas Dilger
2008-10-14 21:08 ` Evgeniy Polyakov
2008-10-14 21:23 ` Matthew Wilcox
2008-10-14 21:31 ` Evgeniy Polyakov
2008-09-09 11:38 Evgeniy Polyakov
2008-09-10 23:51 ` Sven Wegener
2008-09-11 4:23 ` Evgeniy Polyakov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081014235702.GA24064@2ka.mipt.ru \
--to=zbr@ioremap.net \
--cc=akpm@linux-foundation.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).