VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Alexander Aring <aahringo@redhat.com> 2021-03-01 17:05:15 -0500 committer: David Teigland <teigland@redhat.com> 2021-03-09 08:56:42 -0600 commit: e1a7cbce53f6524e28421b980464a36f0fa9631c parent: c45674fbdda138814ca21138475219c96fa5aa1f
Commit Summary:
fs: dlm: use GFP_ZERO for page buffer
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/dlm/lowcomms.c b/fs/dlm/lowcomms.c
index 206bd30feb29..97d0c93dd644 100644
--- a/fs/dlm/lowcomms.c
+++ b/fs/dlm/lowcomms.c
@@ -1355,7 +1355,7 @@ static struct writequeue_entry *new_writequeue_entry(struct connection *con,
 	if (!entry)
 		return NULL;
 
-	entry->page = alloc_page(allocation);
+	entry->page = alloc_page(allocation | __GFP_ZERO);
 	if (!entry->page) {
 		kfree(entry);
 		return NULL;