Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 229107
b: refs/heads/master
c: b17b35e
h: refs/heads/master
i:
  229105: b9c3436
  229103: e87700b
v: v3
  • Loading branch information
Jesper Juhl authored and Theodore Ts'o committed Dec 20, 2010
1 parent 8aa9b71 commit c434a6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: 6ca7b13dea385484e2fcc89790b8030697c5014a
refs/heads/master: b17b35ec13adfeb0346d4b329110b14adc509327
5 changes: 1 addition & 4 deletions trunk/fs/ext4/page-io.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,8 @@ static void ext4_end_io_work(struct work_struct *work)

ext4_io_end_t *ext4_init_io_end(struct inode *inode, gfp_t flags)
{
ext4_io_end_t *io = NULL;

io = kmem_cache_alloc(io_end_cachep, flags);
ext4_io_end_t *io = kmem_cache_zalloc(io_end_cachep, flags);
if (io) {
memset(io, 0, sizeof(*io));
atomic_inc(&EXT4_I(inode)->i_ioend_count);
io->inode = inode;
INIT_WORK(&io->work, ext4_end_io_work);
Expand Down

0 comments on commit c434a6b

Please sign in to comment.