diff options
author | Chris Mason <[email protected]> | 2014-01-03 21:07:00 -0800 |
---|---|---|
committer | Chris Mason <[email protected]> | 2014-01-29 07:06:29 -0800 |
commit | 514ac8ad8793a097c0c9d89202c642479d6dfa34 (patch) | |
tree | 7b94b18dce144eb4be4e45102c00071c02c6e2b3 /net/lapb/lapb_out.c | |
parent | 23c6bf6a91e96c17a452e07b12b38ed66504e799 (diff) |
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 <[email protected]>
Signed-off-by: Chris Mason <[email protected]>
CC: [email protected]
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions