Commit 6ba8edc0 authored by Benoît Canet's avatar Benoît Canet Committed by Ilya Dryomov

libceph: Remove spurious kunmap() of the zero page

ceph_tcp_sendpage already does the work of mapping/unmapping
the zero page if needed.
Signed-off-by: default avatarBenoît Canet <benoit.canet@nodalink.com>
Reviewed-by: default avatarAlex Elder <elder@linaro.org>
Signed-off-by: default avatarIlya Dryomov <idryomov@gmail.com>
parent b5584180
...@@ -278,7 +278,6 @@ static void _ceph_msgr_exit(void) ...@@ -278,7 +278,6 @@ static void _ceph_msgr_exit(void)
ceph_msgr_slab_exit(); ceph_msgr_slab_exit();
BUG_ON(zero_page == NULL); BUG_ON(zero_page == NULL);
kunmap(zero_page);
page_cache_release(zero_page); page_cache_release(zero_page);
zero_page = NULL; zero_page = NULL;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment