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

# unregister\_filesystem(9)

unregister a file system

## NAME

unregister\_filesystem - unregister a file system

## SYNOPSIS

**int unregister\_filesystem(struct file\_system\_type \*** *fs***);**

## ARGUMENTS

*fs*

filesystem to unregister

## DESCRIPTION

Remove a file system that was previously successfully registered with the kernel. An error is returned if the file system is not found. Zero is returned on a success.

Once this function has returned the struct file\_system\_type structure may be freed or reused.

## COPYRIGHT
