Btrfs: switch to kvfree() helper
A new helper kvfree() in mm/utils.c will do this. Signed-off-by: Wang Shilong <wangshilong1991@gmail.com> Signed-off-by: David Sterba <dsterba@suse.cz>
This commit is contained in:

committed by
David Sterba

parent
01d58472a8
commit
f749303bda
@@ -3241,8 +3241,5 @@ void btrfsic_unmount(struct btrfs_root *root,
|
||||
|
||||
mutex_unlock(&btrfsic_mutex);
|
||||
|
||||
if (is_vmalloc_addr(state))
|
||||
vfree(state);
|
||||
else
|
||||
kfree(state);
|
||||
kvfree(state);
|
||||
}
|
||||
|
Reference in New Issue
Block a user