diff options
author | Carlos Maiolino <cmaiolino@redhat.com> | 2020-09-01 20:47:12 +0200 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-09-16 05:52:41 +0200 |
commit | 8ca79df85b7f98be4dcd3f66de07d4973206dbc9 (patch) | |
tree | e023e5740534a1b4626813b5468eea10a6fd4a7a /fs/xfs/kmem.h | |
parent | xfs: enable big timestamps (diff) | |
download | linux-8ca79df85b7f98be4dcd3f66de07d4973206dbc9.tar.xz linux-8ca79df85b7f98be4dcd3f66de07d4973206dbc9.zip |
xfs: Remove kmem_zalloc_large()
This patch aims to replace kmem_zalloc_large() with global kernel memory
API. So, all its callers are now using kvzalloc() directly, so kmalloc()
fallsback to vmalloc() automatically.
Signed-off-by: Carlos Maiolino <cmaiolino@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
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.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/xfs/kmem.h b/fs/xfs/kmem.h index fb1d06677072..38007117697e 100644 --- a/fs/xfs/kmem.h +++ b/fs/xfs/kmem.h @@ -71,12 +71,6 @@ kmem_zalloc(size_t size, xfs_km_flags_t flags) return kmem_alloc(size, flags | KM_ZERO); } -static inline void * -kmem_zalloc_large(size_t size, xfs_km_flags_t flags) -{ - return kmem_alloc_large(size, flags | KM_ZERO); -} - /* * Zone interfaces */ |