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

# sget\_userns(9)

find or create a superblock

## NAME

sget\_userns - find or create a superblock

## SYNOPSIS

**struct super\_block \* sget\_userns(struct file\_system\_type \*** *type***, int (\****test***) (struct super\_block \*,void \*), int (\****set***) (struct super\_block \*,void \*), int** *flags***, struct user\_namespace \*** *user\_ns***, void \*** *data***);**

## ARGUMENTS

*type*

filesystem type superblock should belong to

*test*

comparison callback

*set*

setup callback

*flags*

mount flags

*user\_ns*

User namespace for the super\_block

*data*

argument to each of them

## COPYRIGHT
