diff options
author | Sasha Levin <levinsasha928@gmail.com> | 2011-12-04 21:36:28 +0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-12-27 13:22:20 +0400 |
commit | cdfca7b346e6dbab1ba33260c28ccb8333485a5b (patch) | |
tree | 423d4487ee5604a69943e8daade01fbec1879ef6 /fs/pipe.c | |
parent | 3f745f1e224e05e845a15760a55f3fd323f7a753 (diff) | |
download | linux-cdfca7b346e6dbab1ba33260c28ccb8333485a5b.tar.xz |
KVM: Use kmemdup() instead of kmalloc/memcpy
Switch to kmemdup() in two places to shorten the code and avoid possible bugs.
Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'fs/pipe.c')
0 files changed, 0 insertions, 0 deletions