aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs/btrfs/tree-defrag.c
diff options
context:
space:
mode:
authorYan <yanzheng@21cn.com>2007-09-17 11:13:11 -0400
committerChris Mason <chris.mason@oracle.com>2008-09-25 11:03:56 -0400
commitbab9fb035faa5119991b64cfee1b14c1d6f6a31b (patch)
tree106f68a6e9ef83f4dc86c24b352ee71de272714d /fs/btrfs/tree-defrag.c
parentcreate btrfs_path slab with the correct size (diff)
downloadwireguard-linux-bab9fb035faa5119991b64cfee1b14c1d6f6a31b.tar.xz
wireguard-linux-bab9fb035faa5119991b64cfee1b14c1d6f6a31b.zip
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>
Diffstat (limited to 'fs/btrfs/tree-defrag.c')
0 files changed, 0 insertions, 0 deletions