summaryrefslogtreecommitdiffstats
path: root/tools/virtio/vringh_test.c
diff options
context:
space:
mode:
authorMinchan Kim <minchan@kernel.org>2017-05-03 23:55:53 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2017-05-04 00:52:11 +0200
commit302128dce142d780417aa548bfd7ef4dfb89fa80 (patch)
tree2d3d00d6b3633f9e3d898c19c14b3a71fd6e97ed /tools/virtio/vringh_test.c
parentzram: introduce zram data accessor (diff)
downloadlinux-302128dce142d780417aa548bfd7ef4dfb89fa80.tar.xz
linux-302128dce142d780417aa548bfd7ef4dfb89fa80.zip
zram: use zram_free_page instead of open-coded
The zram_free_page already handles NULL handle case and same page so use it to reduce error probability. (Acutaully, I made a mistake when I handled same page feature) Link: http://lkml.kernel.org/r/1492052365-16169-7-git-send-email-minchan@kernel.org Signed-off-by: Minchan Kim <minchan@kernel.org> Cc: Hannes Reinecke <hare@suse.com> Cc: Johannes Thumshirn <jthumshirn@suse.de> Cc: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/virtio/vringh_test.c')
0 files changed, 0 insertions, 0 deletions