---
name: "get_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/get_super"
---

# get\_super(9)

get the superblock of a device

## NAME

get\_super - get the superblock of a device

## SYNOPSIS

**struct super\_block \* get\_super(struct block\_device \*** *bdev***);**

## ARGUMENTS

*bdev*

device to get the superblock for

Scans the superblock list and finds the superblock of the file system mounted on the device given. **NULL** is returned if no match is found.

## COPYRIGHT
