staging: lustre: Replace kmem_cache_alloc with kmem_cache_zalloc
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | staging: lustre: lclient: Replace kmem_cache_alloc with kmem_cache_zallocdrivers/ | +5 | 0 replies | |
| 2/8 | staging: lustre: obdclass: Replace kmem_cache_alloc with kmem_cache_zallocdrivers/ drivers/ drivers/ | +3 | 0 replies | |
| 3/8 | staging: lustre: lov: Replace kmem_cache_alloc with kmem_cache_zallocdrivers/ drivers/ drivers/ +5 more | +15 | 0 replies | |
| 4/8 | staging: lustre: obdecho: Replace kmem_cache_alloc with kmem_cache_zallocdrivers/ | +4 | 0 replies | |
| 5/8 | staging: lustre: ptlrpc: Replace kmem_cache_alloc with kmem_cache_zallocdrivers/ | +1 | 0 replies | |
| 6/8 | staging: lustre: osc: Replace kmem_cache_alloc with kmem_cache_zallocdrivers/ drivers/ drivers/ +4 more | +9 | 0 replies | |
| 7/8 | staging: lustre: ldlm: Replace kmem_cache_alloc with kmem_cache_zallocdrivers/ drivers/ drivers/ | +3 | 0 replies | |
| 8/8 | staging: lustre: llite: Replace kmem_cache_alloc with kmem_cache_zallocdrivers/ drivers/ drivers/ +5 more | +11 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/8] staging: lustre: Replace kmem_cache_alloc with kmem_cache_zalloc
This patchset replaces kmem_cache_alloc with kmem_cache_zalloc.
The Coccinelle semantic patch used to make this change is as follows:
// <smpl>
@@
expression e,f;
@@
- kmem_cache_alloc(e, f |__GFP_ZERO)
+ kmem_cache_zalloc(e, f)
// </smpl>
Amitoj Kaur Chawla (8):
staging: lustre: lclient: Replace kmem_cache_alloc with
kmem_cache_zalloc
staging: lustre: obdclass: Replace kmem_cache_alloc with
kmem_cache_zalloc
staging: lustre: lov: Replace kmem_cache_alloc with kmem_cache_zalloc
staging: lustre: obdecho: Replace kmem_cache_alloc with
kmem_cache_zalloc
staging: lustre: ptlrpc: Replace kmem_cache_alloc with
kmem_cache_zalloc
staging: lustre: osc: Replace kmem_cache_alloc with kmem_cache_zalloc
staging: lustre: ldlm: Replace kmem_cache_alloc with kmem_cache_zalloc
staging: lustre: llite: Replace kmem_cache_alloc with
kmem_cache_zalloc
drivers/staging/lustre/lustre/lclient/lcommon_cl.c | 10 +++++----- drivers/staging/lustre/lustre/ldlm/ldlm_extent.c | 2 +- drivers/staging/lustre/lustre/ldlm/ldlm_lock.c | 2 +- drivers/staging/lustre/lustre/ldlm/ldlm_resource.c | 2 +- drivers/staging/lustre/lustre/llite/file.c | 4 ++-- drivers/staging/lustre/lustre/llite/llite_close.c | 2 +- drivers/staging/lustre/lustre/llite/llite_lib.c | 3 +-- drivers/staging/lustre/lustre/llite/namei.c | 2 +- drivers/staging/lustre/lustre/llite/remote_perm.c | 4 ++-- drivers/staging/lustre/lustre/llite/super25.c | 2 +- drivers/staging/lustre/lustre/llite/vvp_dev.c | 4 ++-- drivers/staging/lustre/lustre/llite/xattr_cache.c | 2 +- drivers/staging/lustre/lustre/lov/lov_dev.c | 6 +++--- drivers/staging/lustre/lustre/lov/lov_ea.c | 2 +- drivers/staging/lustre/lustre/lov/lov_lock.c | 6 +++--- drivers/staging/lustre/lustre/lov/lov_object.c | 2 +- drivers/staging/lustre/lustre/lov/lov_request.c | 11 ++++------- drivers/staging/lustre/lustre/lov/lovsub_dev.c | 2 +- drivers/staging/lustre/lustre/lov/lovsub_lock.c | 2 +- drivers/staging/lustre/lustre/lov/lovsub_object.c | 2 +- drivers/staging/lustre/lustre/obdclass/cl_lock.c | 2 +- drivers/staging/lustre/lustre/obdclass/cl_object.c | 2 +- drivers/staging/lustre/lustre/obdclass/genops.c | 2 +- drivers/staging/lustre/lustre/obdecho/echo_client.c | 8 ++++---- drivers/staging/lustre/lustre/osc/osc_cache.c | 2 +- drivers/staging/lustre/lustre/osc/osc_dev.c | 4 ++-- drivers/staging/lustre/lustre/osc/osc_io.c | 2 +- drivers/staging/lustre/lustre/osc/osc_lock.c | 2 +- drivers/staging/lustre/lustre/osc/osc_object.c | 2 +- drivers/staging/lustre/lustre/osc/osc_quota.c | 2 +- drivers/staging/lustre/lustre/osc/osc_request.c | 4 ++-- drivers/staging/lustre/lustre/ptlrpc/client.c | 2 +- 32 files changed, 51 insertions(+), 55 deletions(-)
Signature · 1 line
1.9.1