Skip to contentSkip to conversation

fscrypt-stop-setting-pg_private-on-bounce-page.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Oct 9

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: fscrypt: stop setting PG_private on bounce page
has been removed from the -mm tree. Its filename was
fscrypt-stop-setting-pg_private-on-bounce-page.patch

This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Zi Yan <[email protected]>
Subject: fscrypt: stop setting PG_private on bounce page
Date: Sun, 20 Sep 2026 22:28:00 -0400

The pointer to a plain text folio is stored in bound_page->private and cannot be NULL until the bounce_page is freed, making PG_private redundant.

It prepares for a future commit that remove PG_private.

No functional change intended.

---

 fs/crypto/crypto.c |    2 --
 1 file changed, 2 deletions(-)
fs/crypto/crypto.c renamed from fs/crypto/crypto.c~fscrypt-stop-setting-pg_private-on-bounce-page +0 -2
@@ -65,7 +65,6 @@ void fscrypt_free_bounce_page(struct pag
 	if (!bounce_page)
 		return;
 	set_page_private(bounce_page, (unsigned long)NULL);
-	ClearPagePrivate(bounce_page);
 	mempool_free(bounce_page, fscrypt_bounce_page_pool);
 }
 EXPORT_SYMBOL(fscrypt_free_bounce_page);
@@ -210,7 +209,6 @@ struct page *fscrypt_encrypt_pagecache_b
 			return ERR_PTR(err);
 		}
 	}
-	SetPagePrivate(ciphertext_page);
 	set_page_private(ciphertext_page, (unsigned long)folio);
 	return ciphertext_page;
 }

_

Patches currently in -mm which might be from [email protected] are