Skip to content

Commit

Permalink
libceph: Remove spurious kunmap() of the zero page
Browse files Browse the repository at this point in the history
ceph_tcp_sendpage already does the work of mapping/unmapping
the zero page if needed.

Signed-off-by: Benoît Canet <[email protected]>
Reviewed-by: Alex Elder <[email protected]>
Signed-off-by: Ilya Dryomov <[email protected]>
  • Loading branch information
benoit-canet authored and idryomov committed Jun 25, 2015
1 parent b558418 commit 6ba8edc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion net/ceph/messenger.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 6ba8edc

Please sign in to comment.