Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 273179
b: refs/heads/master
c: 5129d05
h: refs/heads/master
i:
  273177: e7a8ea4
  273175: 549159a
v: v3
  • Loading branch information
Yongqiang Yang authored and Theodore Ts'o committed Oct 31, 2011
1 parent 8221c92 commit 73f2523
Show file tree
Hide file tree
Showing 2 changed files with 3 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: e260daf27902b2189a9198f5b64fa4567939bb5b
refs/heads/master: 5129d05fda57be13f434dbe8536de39a6c25496d
4 changes: 2 additions & 2 deletions trunk/fs/ext4/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -3129,7 +3129,7 @@ int ext4_discard_partial_page_buffers(handle_t *handle,
page = find_or_create_page(mapping, from >> PAGE_CACHE_SHIFT,
mapping_gfp_mask(mapping) & ~__GFP_FS);
if (!page)
return -EINVAL;
return -ENOMEM;

err = ext4_discard_partial_page_buffers_no_lock(handle, inode, page,
from, length, flags);
Expand Down Expand Up @@ -3372,7 +3372,7 @@ int ext4_block_zero_page_range(handle_t *handle,
page = find_or_create_page(mapping, from >> PAGE_CACHE_SHIFT,
mapping_gfp_mask(mapping) & ~__GFP_FS);
if (!page)
return -EINVAL;
return -ENOMEM;

blocksize = inode->i_sb->s_blocksize;
max = blocksize - (offset & (blocksize - 1));
Expand Down

0 comments on commit 73f2523

Please sign in to comment.