This series provides the {init, exit}_sequence_fs() helper functions and applies to f2fs and ext4, similar to btrfs. Youling Tang (3): f2fs: make module init/exit match their sequence ext4: make module init/exit match their sequence fs: Add {init, exit}_sequence_fs() helper function fs/btrfs/super.c | 36 +-------- fs/ext4/super.c | 142 +++++++++++++++--------------------- fs/f2fs/debug.c | 3 +- fs/f2fs/f2fs.h | 4 +- fs/f2fs/super.c | 178 ++++++++++++++++++--------------------------- include/linux/fs.h | 38 ++++++++++ 6 files changed, 173 insertions(+), 228 deletions(-) -- 2.34.1