libceph: Remove spurious kunmap() of the zero page
authorBenoît Canet <benoit.canet@nodalink.com>
Wed, 24 Jun 2015 21:18:39 +0000 (23:18 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 25 Jun 2015 15:30:56 +0000 (18:30 +0300)
ceph_tcp_sendpage already does the work of mapping/unmapping
the zero page if needed.

Signed-off-by: Benoît Canet <benoit.canet@nodalink.com>
Reviewed-by: Alex Elder <elder@linaro.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
net/ceph/messenger.c

index 967080a..38f06a4 100644 (file)
@@ -278,7 +278,6 @@ static void _ceph_msgr_exit(void)
        ceph_msgr_slab_exit();
 
        BUG_ON(zero_page == NULL);
-       kunmap(zero_page);
        page_cache_release(zero_page);
        zero_page = NULL;
 }