Off by one fix for btrfs_drop_extents
authorYan <yanzheng@21cn.com>
Fri, 14 Dec 2007 16:14:42 +0000 (11:14 -0500)
committerChris Mason <chris.mason@oracle.com>
Thu, 25 Sep 2008 15:03:58 +0000 (11:03 -0400)
commit6e3b96668eb34da6060a5189e6a73e9d62a3b178
tree6aba5e1e12c71eef597f5d11b6893ab381ef76e7
parentf6dbff55d77dee363c22873481db54d3bada3ea6
Off by one fix for btrfs_drop_extents

One of my old patches introduces a new bug to
btrfs_drop_extents(changeset 275). Inline extents are not truncated
properly when "extent_end == end", it can trigger the BUG_ON at
file.c:600.  I hope I don't introduce new bug this time.

---

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/file.c
This page took 0.037578 seconds and 5 git commands to generate.