commit | bab9fb035faa5119991b64cfee1b14c1d6f6a31b | [log] [tgz] |
---|---|---|
author | Yan <yanzheng@21cn.com> | Mon Sep 17 11:13:11 2007 -0400 |
committer | Chris Mason <chris.mason@oracle.com> | Thu Sep 25 11:03:56 2008 -0400 |
tree | 106f68a6e9ef83f4dc86c24b352ee71de272714d | |
parent | 23223584e44cb1b0b69ba3a9ad74956f292a416b [diff] |
Btrfs: truncate: don't update inode->i_blocks when extent is a hole I think check whether extent is a hole before update 'inode->i_blocks' is unconditional required. (original codes check it only when del_item isn't equal to 0) Signed-off-by: Chris Mason <chris.mason@oracle.com>