Revision 3bef735ad7b7d987069181e7b58588043cbd1509 authored by Chengguang Xu on 24 July 2020, 04:15:14 UTC, committed by Linus Torvalds on 24 July 2020, 19:42:41 UTC
After commit fdc85222d58e ("kernfs: kvmalloc xattr value instead of kmalloc"), simple xattr entry is allocated with kvmalloc() instead of kmalloc(), so we should release it with kvfree() instead of kfree(). Fixes: fdc85222d58e ("kernfs: kvmalloc xattr value instead of kmalloc") Signed-off-by: Chengguang Xu <cgxu519@mykernel.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Acked-by: Hugh Dickins <hughd@google.com> Acked-by: Tejun Heo <tj@kernel.org> Cc: Daniel Xu <dxu@dxuuu.xyz> Cc: Chris Down <chris@chrisdown.name> Cc: Andreas Dilger <adilger@dilger.ca> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: <stable@vger.kernel.org> [5.7] Link: http://lkml.kernel.org/r/20200704051608.15043-1-cgxu519@mykernel.net Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 246c320
File | Mode | Size |
---|---|---|
.gitignore | -rw-r--r-- | 47 bytes |
Makefile | -rw-r--r-- | 159 bytes |
fixdep.c | -rw-r--r-- | 9.6 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...