From: Chris Mason Date: Sat, 4 Jan 2014 05:07:00 +0000 (-0800) Subject: Btrfs: don't use ram_bytes for uncompressed inline items X-Git-Tag: v3.14-rc1~29^2~2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=514ac8ad8793a097c0c9d89202c642479d6dfa34;p=pandora-kernel.git Btrfs: don't use ram_bytes for uncompressed inline items If we truncate an uncompressed inline item, ram_bytes isn't updated to reflect the new size. The fixe uses the size directly from the item header when reading uncompressed inlines, and also fixes truncate to update the size as it goes. Reported-by: Jens Axboe Signed-off-by: Chris Mason CC: stable@vger.kernel.org --- Reading git-diff-tree failed