Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 71720
b: refs/heads/master
c: 051814c
h: refs/heads/master
v: v3
  • Loading branch information
Alasdair G Kergon committed Oct 20, 2007
1 parent d213625 commit 1f0033f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bb56acf840600421e68f49bb037d1c659fcb37f8
refs/heads/master: 051814c69fac92f1964739c0cf08b5e3b1156b04
5 changes: 0 additions & 5 deletions trunk/drivers/md/dm-bio-list.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@ static inline int bio_list_empty(const struct bio_list *bl)
return bl->head == NULL;
}

#define BIO_LIST_INIT { .head = NULL, .tail = NULL }

#define BIO_LIST(bl) \
struct bio_list bl = BIO_LIST_INIT

static inline void bio_list_init(struct bio_list *bl)
{
bl->head = bl->tail = NULL;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/md/dm-delay.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ static struct bio *flush_delayed_bios(struct delay_c *dc, int flush_all)
struct dm_delay_info *delayed, *next;
unsigned long next_expires = 0;
int start_timer = 0;
BIO_LIST(flush_bios);
struct bio_list flush_bios = { };

mutex_lock(&delayed_bios_lock);
list_for_each_entry_safe(delayed, next, &dc->delayed_bios, list) {
Expand Down

0 comments on commit 1f0033f

Please sign in to comment.