---
name: "deactivate_locked_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/deactivate_locked_super"
---

# deactivate\_locked\_super(9)

drop an active reference to superblock

## NAME

deactivate\_locked\_super - drop an active reference to superblock

## SYNOPSIS

**void deactivate\_locked\_super(struct super\_block \*** *s***);**

## ARGUMENTS

*s*

superblock to deactivate

## DESCRIPTION

Drops an active reference to superblock, converting it into a temporary one if there is no other active references left. In that case we tell fs driver to shut it down and drop the temporary reference we had just acquired.

Caller holds exclusive lock on superblock; that lock is released.

## COPYRIGHT
