diff options
author | Christoph Hellwig <hch@lst.de> | 2016-04-06 02:47:01 +0300 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-04-06 02:47:01 +0300 |
commit | 664b60f6babc98ee03c2ff15b9482cc8c5e15a83 (patch) | |
tree | 195d42b776a4e311a912147722aa516e9e6d9048 /samples/configfs | |
parent | 9f27889f3a96ff356ac92688cc0c4be3935ae3af (diff) | |
download | linux-664b60f6babc98ee03c2ff15b9482cc8c5e15a83.tar.xz |
xfs: improve kmem_realloc
Use krealloc to implement our realloc function. This helps to avoid
new allocations if we are still in the slab bucket. At least for the
bmap btree root that's actually the common case.
This also allows removing the now unused oldsize argument.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'samples/configfs')
0 files changed, 0 insertions, 0 deletions