Files
linux-cix/fs
Olaf Hering c82ea72d96 mount: handle OOM on mnt_warn_timestamp_expiry
[ Upstream commit 4bcda1eaf184e308f07f9c61d3a535f9ce477ce8 ]

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-04 16:28:51 +02:00
..
2024-08-19 06:04:25 +02:00
2024-09-08 07:54:46 +02:00
2024-08-03 08:54:22 +02:00
2024-08-29 17:33:33 +02:00
2024-08-19 06:04:25 +02:00
2024-02-23 09:25:13 +01:00
2024-03-26 18:19:17 -04:00
2024-07-05 09:34:04 +02:00
2024-08-19 06:04:25 +02:00