From: Liu Bo Date: Thu, 12 Apr 2012 20:03:56 +0000 (-0400) Subject: Btrfs: fix eof while discarding extents X-Git-Tag: v3.4-rc3~11^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b89203f74bdfcb15407d54d3f257b16a2ea19e62;p=pandora-kernel.git Btrfs: fix eof while discarding extents We miscalculate the length of extents we're discarding, and it leads to an eof of device. Reported-by: Daniel Blueman Signed-off-by: Liu Bo Signed-off-by: Chris Mason --- Reading git-diff-tree failed