]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: lustre: Use 'kvfree()' for memory allocated by 'kvzalloc()'
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 12 May 2018 12:14:26 +0000 (14:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 May 2018 11:55:06 +0000 (13:55 +0200)
commit6c66a7b097f42ebf4c3ec03699e3409e14d68389
treeb7e66b8f5f1ff243f1392654d507d6ecc313e25d
parent3368b7f65aadac0455ba6bc184454cded0aab95d
staging: lustre: Use 'kvfree()' for memory allocated by 'kvzalloc()'

'buf' is allocated with 'kvzalloc()'. 'kvfree()' must be used to free it.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Fixes: 11c647caf74b ("staging: lustre: obdclass: variable llog chunk size")
Reviewed-by: NeilBrown <neilb@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/obdclass/llog.c