mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
staging/lustre/fld: Replace OBD_ALLOC_GFP with kzalloc
Part of effort to get rid of custom Lustre allocation macros. Signed-off-by: Oleg Drokin <oleg.drokin@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
c0a2472fa8
commit
3dc6f32522
1 changed files with 1 additions and 1 deletions
|
|
@ -266,7 +266,7 @@ static void fld_cache_punch_hole(struct fld_cache *cache,
|
|||
const u64 new_end = range->lsr_end;
|
||||
struct fld_cache_entry *fldt;
|
||||
|
||||
OBD_ALLOC_GFP(fldt, sizeof(*fldt), GFP_ATOMIC);
|
||||
fldt = kzalloc(sizeof(*fldt), GFP_ATOMIC);
|
||||
if (!fldt) {
|
||||
kfree(f_new);
|
||||
/* overlap is not allowed, so dont mess up list. */
|
||||
|
|
|
|||
Loading…
Reference in a new issue