Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 107537
b: refs/heads/master
c: d5a0d4f
h: refs/heads/master
i:
  107535: ab13dc5
v: v3
  • Loading branch information
Eric Sandeen authored and Theodore Ts'o committed Aug 2, 2008
1 parent 47f8728 commit 4cfc647
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 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: e9e34f4e8f42177c66754fec1edfd35e70c18f99
refs/heads/master: d5a0d4f732af3438e592efab4cb80076d1dd81b5
7 changes: 5 additions & 2 deletions trunk/fs/ext4/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -2280,8 +2280,11 @@ static int ext4_da_write_begin(struct file *file, struct address_space *mapping,
}

page = __grab_cache_page(mapping, index);
if (!page)
return -ENOMEM;
if (!page) {
ext4_journal_stop(handle);
ret = -ENOMEM;
goto out;
}
*pagep = page;

ret = block_write_begin(file, mapping, pos, len, flags, pagep, fsdata,
Expand Down

0 comments on commit 4cfc647

Please sign in to comment.