diff options
author | David Sterba <[email protected]> | 2017-02-13 13:42:29 +0100 |
---|---|---|
committer | David Sterba <[email protected]> | 2017-02-17 12:03:49 +0100 |
commit | 53d3235995b3f87754a42de24d707f158c1b3b40 (patch) | |
tree | a98d862301bdf55fe271c4ebea2fb4825d36b915 /net/lapb/lapb_iface.c | |
parent | 9d037933861805799db4edfd075412a39e2549f4 (diff) |
btrfs: embed extent_changeset::range_changed to the structure
We can embed range_changed to the extent changeset to address following
problems:
- no need to allocate ulist dynamically, we also get rid of the GFP_NOFS
for free
- fix lack of allocation failure checking in btrfs_qgroup_reserve_data
The stack consuption where extent_changeset is used slightly increases:
before: 16
after: 16 - 8 (for pointer) + 32 (sizeof ulist) = 40
Which is bearable.
Reviewed-by: Qu Wenruo <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions