]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: don't change file extent's ram_bytes in btrfs_drop_extents
authorYan Zheng <zheng.yan@oracle.com>
Tue, 6 Jan 2009 14:58:02 +0000 (09:58 -0500)
committerChris Mason <chris.mason@oracle.com>
Tue, 6 Jan 2009 14:58:02 +0000 (09:58 -0500)
commit03e6b16a77cbca73ca57d0cd5b72e81450131e1b
tree081d39d935782a34d4726a55f608de3237b57d9d
parent7956ed6e49600cd2e7f2d1e5c538c75c7698cd64
Btrfs: don't change file extent's ram_bytes in btrfs_drop_extents

btrfs_drop_extents doesn't change file extent's ram_bytes
in the case of booked extent. To be consistent, we should
also not change ram_bytes when truncating existing extent.

Signed-off-by: Yan Zheng <zheng.yan@oracle.com>
fs/btrfs/file.c