Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 221543
b: refs/heads/master
c: eb8abb9
h: refs/heads/master
i:
  221541: 5a5c58b
  221539: 002fcf9
  221535: db8b033
v: v3
  • Loading branch information
Theodore Ts'o authored and Linus Torvalds committed Nov 2, 2010
1 parent 4ee6768 commit dfb546d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition 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: 7fe19da4ca38fc20cdbc7020fcf2eca8fc756410
refs/heads/master: eb8abb927ae2fd1730e24ea94cd9527f3c086292
2 changes: 0 additions & 2 deletions trunk/fs/ext4/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -5410,9 +5410,7 @@ int ext4_getattr(struct vfsmount *mnt, struct dentry *dentry,
* will return the blocks that include the delayed allocation
* blocks for this file.
*/
spin_lock(&EXT4_I(inode)->i_block_reservation_lock);
delalloc_blocks = EXT4_I(inode)->i_reserved_data_blocks;
spin_unlock(&EXT4_I(inode)->i_block_reservation_lock);

stat->blocks += (delalloc_blocks << inode->i_sb->s_blocksize_bits)>>9;
return 0;
Expand Down

0 comments on commit dfb546d

Please sign in to comment.