Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 242381
b: refs/heads/master
c: b616844
h: refs/heads/master
i:
  242379: c9bad98
v: v3
  • Loading branch information
Theodore Ts'o committed Feb 28, 2011
1 parent 4ad01fa commit e07784e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d39195c33bb1b5fdcb0f416e8a0b34bfdb07a027
refs/heads/master: b616844310a6c8a4ab405d3436bbb6e53cfd852f
5 changes: 5 additions & 0 deletions trunk/fs/ext4/page-io.c
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,11 @@ static void ext4_end_bio(struct bio *bio, int error)
bi_sector >> (inode->i_blkbits - 9));
}

if (!(io_end->flag & EXT4_IO_END_UNWRITTEN)) {
ext4_free_io_end(io_end);
return;
}

/* Add the io_end to per-inode completed io list*/
spin_lock_irqsave(&EXT4_I(inode)->i_completed_io_lock, flags);
list_add_tail(&io_end->list, &EXT4_I(inode)->i_completed_io_list);
Expand Down

0 comments on commit e07784e

Please sign in to comment.