Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 273178
b: refs/heads/master
c: e260daf
h: refs/heads/master
v: v3
  • Loading branch information
Yongqiang Yang authored and Theodore Ts'o committed Oct 31, 2011
1 parent e7a8ea4 commit 8221c92
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 0edeb71dc9133bfb505d3bf59642e07cd936613e
refs/heads/master: e260daf27902b2189a9198f5b64fa4567939bb5b
3 changes: 2 additions & 1 deletion trunk/fs/ext4/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -3179,7 +3179,6 @@ int ext4_discard_partial_page_buffers_no_lock(handle_t *handle,
ext4_fsblk_t index = from >> PAGE_CACHE_SHIFT;
unsigned int offset = from & (PAGE_CACHE_SIZE-1);
unsigned int blocksize, max, pos;
unsigned int end_of_block, range_to_discard;
ext4_lblk_t iblock;
struct buffer_head *bh;
int err = 0;
Expand Down Expand Up @@ -3231,6 +3230,8 @@ int ext4_discard_partial_page_buffers_no_lock(handle_t *handle,

pos = offset;
while (pos < offset + length) {
unsigned int end_of_block, range_to_discard;

err = 0;

/* The length of space left to zero and unmap */
Expand Down

0 comments on commit 8221c92

Please sign in to comment.