diff options
author | Kent Overstreet <koverstreet@google.com> | 2013-03-25 14:46:44 -0400 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2013-03-25 15:06:13 -0400 |
commit | b1a67b0f4c747ca10c96ebb24f04e2a74b3c298d (patch) | |
tree | 32ff70d72673de4e99ae3b8c517540ccbe6a547f /drivers/md/bcache/btree.c | |
parent | 07e86ccb543bb1e748f32d6f0f18913d3f58d988 (diff) |
bcache: Style/checkpatch fixes
Took out some nested functions, and fixed some more checkpatch
complaints.
Signed-off-by: Kent Overstreet <koverstreet@google.com>
Cc: linux-bcache@vger.kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md/bcache/btree.c')
-rw-r--r-- | drivers/md/bcache/btree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/bcache/btree.c b/drivers/md/bcache/btree.c index af9ea4a96330..24b678059091 100644 --- a/drivers/md/bcache/btree.c +++ b/drivers/md/bcache/btree.c | |||
@@ -1021,8 +1021,8 @@ retry: | |||
1021 | goto err_free; | 1021 | goto err_free; |
1022 | 1022 | ||
1023 | if (!b) { | 1023 | if (!b) { |
1024 | cache_bug(c, "Tried to allocate bucket" | 1024 | cache_bug(c, |
1025 | " that was in btree cache"); | 1025 | "Tried to allocate bucket that was in btree cache"); |
1026 | __bkey_put(c, &k.key); | 1026 | __bkey_put(c, &k.key); |
1027 | goto retry; | 1027 | goto retry; |
1028 | } | 1028 | } |