Tag: 97903a26fcfc84b93a9cdb09d649c1b748383c24

staging: lustre: llite: drop uses of OBD free functions

Author: Julia Lawall <Julia.Lawall@lip6.fr> Replace OBD_FREE and OBD_FREE_PTR by kfree. The semantic patch that makes these changes is as follows: (http://coccinelle.lip6.fr/) // @@ expression ptr, size; @@ – OBD_FREE(ptr, size); + kfree(ptr); @@ expression ptr; @@ – OBD_FREE_PTR(ptr); + kfree(ptr); // Signed-off-by: Julia Lawall Signed-off-by: Greg Kroah-Hartman — drivers/staging/lustre/lustre/llite/dcache.c | 6 ++– drivers/staging/lustre/lustre/llite/dir.c | 34 …

Lire la suite