-
Chris Mason authored
commit 514ac8ad upstream. 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> [ kamal: backport to 3.13-stable: applied to all _inline_len callers ] Signed-off-by: Kamal Mostafa <kamal@canonical.com>
d40c5ee1