summaryrefslogtreecommitdiff
path: root/fs/xfs/kmem.h
diff options
context:
space:
mode:
authorCarlos Maiolino <cmaiolino@redhat.com>2020-08-27 00:05:56 +0300
committerDarrick J. Wong <darrick.wong@oracle.com>2020-09-07 04:05:51 +0300
commit771915c4f68889b8c41092a928c604c9cd279927 (patch)
tree6d0a639149750c55504cd8ad0118e62b5a9409ee /fs/xfs/kmem.h
parentf4d51dffc6c01a9e94650d95ce0104964f8ae822 (diff)
downloadlinux-771915c4f68889b8c41092a928c604c9cd279927.tar.xz
xfs: remove kmem_realloc()
Remove kmem_realloc() function and convert its users to use MM API directly (krealloc()) Signed-off-by: Carlos Maiolino <cmaiolino@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/kmem.h')
-rw-r--r--fs/xfs/kmem.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/xfs/kmem.h b/fs/xfs/kmem.h
index 8e8555817e6d..fb1d06677072 100644
--- a/fs/xfs/kmem.h
+++ b/fs/xfs/kmem.h
@@ -59,7 +59,6 @@ kmem_flags_convert(xfs_km_flags_t flags)
extern void *kmem_alloc(size_t, xfs_km_flags_t);
extern void *kmem_alloc_io(size_t size, int align_mask, xfs_km_flags_t flags);
extern void *kmem_alloc_large(size_t size, xfs_km_flags_t);
-extern void *kmem_realloc(const void *, size_t, xfs_km_flags_t);
static inline void kmem_free(const void *ptr)
{
kvfree(ptr);