fs: dlm: use GFP_ZERO for page buffer
authorAlexander Aring <aahringo@redhat.com>
Mon, 1 Mar 2021 22:05:15 +0000 (17:05 -0500)
committerDavid Teigland <teigland@redhat.com>
Tue, 9 Mar 2021 14:56:42 +0000 (08:56 -0600)
commite1a7cbce53f6524e28421b980464a36f0fa9631c
tree0eea5f0156ba6b80a1e08bd193311c32c9f7f533
parentc45674fbdda138814ca21138475219c96fa5aa1f
fs: dlm: use GFP_ZERO for page buffer

This patch uses GFP_ZERO for allocate a page for the internal dlm
sending buffer allocator instead of calling memset zero after every
allocation. An already allocated space will never be reused again.

Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/lock.c
fs/dlm/lowcomms.c
fs/dlm/rcom.c