Files
linux-stable-mirror/fs
Olaf HeringandGreg Kroah-Hartman d5ecaf72fd mount: handle OOM on mnt_warn_timestamp_expiry
[ Upstream commit 4bcda1eaf1 ]

If no page could be allocated, an error pointer was used as format
string in pr_warn.

Rearrange the code to return early in case of OOM. Also add a check
for the return value of d_path.

Fixes: f8b92ba67c ("mount: Add mount warning for impending timestamp expiry")
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Link: https://lore.kernel.org/r/20240730085856.32385-1-olaf@aepfle.de
[brauner: rewrite commit and commit message]
Signed-off-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-10-17 15:10:44 +02:00
..
2024-02-23 08:54:51 +01:00
2024-09-04 13:23:24 +02:00
2024-03-01 13:21:43 +01:00
2023-09-23 11:10:01 +02:00
2023-08-30 16:18:19 +02:00
2024-04-10 16:19:01 +02:00
2024-07-05 09:14:50 +02:00