[tip: timers/urgent] timens: Add struct seq_file forward declaration

From: tip-bot2 for Herbert Xu
Date: Wed Jun 04 2025 - 05:35:05 EST


The following commit has been merged into the timers/urgent branch of tip:

Commit-ID: 434d7f9b0e24e1f0166d05f10881a8ab386845b7
Gitweb: https://git.kernel.org/tip/434d7f9b0e24e1f0166d05f10881a8ab386845b7
Author: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
AuthorDate: Fri, 30 May 2025 16:30:11 +08:00
Committer: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
CommitterDate: Wed, 04 Jun 2025 11:27:11 +02:00

timens: Add struct seq_file forward declaration

Add forward declaration of struct seq_file before using it in a
function prototype.

Fixes: 04a8682a71be ("fs/proc: Introduce /proc/pid/timens_offsets")
Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Acked-by: Andrei Vagin <avagin@xxxxxxxxx>
Link: https://lore.kernel.org/all/aDlskzKIAULMlwPj@xxxxxxxxxxxxxxxxxxx


---
include/linux/time_namespace.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/include/linux/time_namespace.h b/include/linux/time_namespace.h
index 0b8b32b..bb2c52f 100644
--- a/include/linux/time_namespace.h
+++ b/include/linux/time_namespace.h
@@ -12,6 +12,7 @@
struct user_namespace;
extern struct user_namespace init_user_ns;

+struct seq_file;
struct vm_area_struct;

struct timens_offsets {