Add the necessary infrastructure changes to support freezing for suspend and hibernate. Just got back from LSFMM. So still jetlagged and likelihood of bugs increased. This should all that's needed to wire up power. This will be in vfs-6.16.super shortly. --- Changes in v2: - Don't grab reference in the iterator make that a requirement for the callers that need custom behavior. - Link to v1: https://lore.kernel.org/r/20250328-work-freeze-v1-0-a2c3a6b0e7a6@xxxxxxxxxx --- Christian Brauner (6): super: remove pointless s_root checks super: simplify user_get_super() super: skip dying superblocks early super: use a common iterator (Part 1) super: use common iterator (Part 2) super: add filesystem freezing helpers for suspend and hibernate fs/super.c | 201 ++++++++++++++++++++++++++++++++--------------------- include/linux/fs.h | 4 +- 2 files changed, 126 insertions(+), 79 deletions(-) --- base-commit: acb4f33713b9f6cadb6143f211714c343465411c change-id: 20250328-work-freeze-0a446869cd62