1GENERIC_SHUTDOWN_SUP(9) The Linux VFS GENERIC_SHUTDOWN_SUP(9)
2
3
4
6 generic_shutdown_super - common helper for ->kill_sb
7
9 void generic_shutdown_super(struct super_block * sb);
10
12 sb
13 superblock to kill
14
16 generic_shutdown_super does all fs-independent work on superblock
17 shutdown. Typical ->kill_sb should pick all fs-specific objects that
18 need destruction out of superblock, call generic_shutdown_super and
19 release aforementioned objects. Note: dentries and inodes _are_ taken
20 care of and do not need specific handling.
21
22 Upon calling this function, the filesystem may no longer alter or
23 rearrange the set of dentries belonging to this super_block, nor may it
24 change the attachments of dentries to inodes.
25
27Kernel Hackers Manual 2.6. June 2019 GENERIC_SHUTDOWN_SUP(9)