Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 146391
b: refs/heads/master
c: 0568c51
h: refs/heads/master
i:
  146389: 030e912
  146387: cf5dc53
  146383: c5cfa8d
v: v3
  • Loading branch information
Theodore Ts'o committed May 18, 2009
1 parent b72f2b6 commit 1ce67a6
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: 6fd058f7791087648c683eb8572edf3be3c4c23c
refs/heads/master: 0568c518937ee3a9b6a94d18bae9c150fe5d6832
4 changes: 2 additions & 2 deletions trunk/fs/ext4/extents.c
Original file line number Diff line number Diff line change
Expand Up @@ -3312,10 +3312,10 @@ int ext4_fiemap(struct inode *inode, struct fiemap_extent_info *fieinfo,
* Walk the extent tree gathering extent information.
* ext4_ext_fiemap_cb will push extents back to user.
*/
down_write(&EXT4_I(inode)->i_data_sem);
down_read(&EXT4_I(inode)->i_data_sem);
error = ext4_ext_walk_space(inode, start_blk, len_blks,
ext4_ext_fiemap_cb, fieinfo);
up_write(&EXT4_I(inode)->i_data_sem);
up_read(&EXT4_I(inode)->i_data_sem);
}

return error;
Expand Down

0 comments on commit 1ce67a6

Please sign in to comment.