Chris Mason 514ac8ad87 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 <axboe@fb.com>
Signed-off-by: Chris Mason <clm@fb.com>
CC: stable@vger.kernel.org
2014-01-29 07:06:29 -08:00
..
2013-12-27 15:14:45 -06:00
2013-11-13 12:09:12 +09:00
2014-01-06 14:00:23 -05:00
2013-12-08 21:14:59 -05:00
2013-12-05 13:05:48 -08:00
2013-11-09 00:16:32 -05:00
2013-12-22 11:03:49 -08:00
2013-11-09 00:16:20 -05:00
2013-11-09 00:16:19 -05:00
2013-11-09 00:16:31 -05:00
2013-11-09 00:16:20 -05:00