Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 146382
b: refs/heads/master
c: f888e65
h: refs/heads/master
v: v3
  • Loading branch information
Theodore Ts'o committed May 12, 2009
1 parent 1153bdf commit 232529f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: bc8e67409ccdcff72c3f1656b1fb1aad7ff396db
refs/heads/master: f888e652d758bfe0c04c209b72a05972daeba386
6 changes: 3 additions & 3 deletions trunk/fs/ext4/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -2000,7 +2000,7 @@ static void ext4_print_free_blocks(struct inode *inode)

#define EXT4_DELALLOC_RSVED 1
static int ext4_da_get_block_write(struct inode *inode, sector_t iblock,
struct buffer_head *bh_result, int create)
struct buffer_head *bh_result)
{
int ret;
unsigned max_blocks = bh_result->b_size >> inode->i_blkbits;
Expand All @@ -2010,7 +2010,7 @@ static int ext4_da_get_block_write(struct inode *inode, sector_t iblock,
handle = ext4_journal_current_handle();
BUG_ON(!handle);
ret = ext4_get_blocks_wrap(handle, inode, iblock, max_blocks,
bh_result, create, 0, EXT4_DELALLOC_RSVED);
bh_result, 1, 0, EXT4_DELALLOC_RSVED);
if (ret <= 0)
return ret;

Expand Down Expand Up @@ -2088,7 +2088,7 @@ static int mpage_da_map_blocks(struct mpage_da_data *mpd)
if (!new.b_size)
return 0;

err = ext4_da_get_block_write(mpd->inode, next, &new, 1);
err = ext4_da_get_block_write(mpd->inode, next, &new);
if (err) {
/*
* If get block returns with error we simply
Expand Down

0 comments on commit 232529f

Please sign in to comment.