---
name: "generic_shutdown_super"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/generic_shutdown_super"
---

# generic\_shutdown\_super(9)

common helper for -\>kill\_sb

## NAME

generic\_shutdown\_super - common helper for -\>**kill\_sb**

## SYNOPSIS

**void generic\_shutdown\_super(struct super\_block \*** *sb***);**

## ARGUMENTS

*sb*

superblock to kill

## DESCRIPTION

**generic\_shutdown\_super** does all fs-independent work on superblock shutdown. Typical -\>**kill\_sb** should pick all fs-specific objects that need destruction out of superblock, call **generic\_shutdown\_super** and release aforementioned objects. Note: dentries and inodes \_are\_ taken care of and do not need specific handling.

Upon calling this function, the filesystem may no longer alter or rearrange the set of dentries belonging to this super\_block, nor may it change the attachments of dentries to inodes.

## COPYRIGHT
